Package | Description |
---|---|
com.BombingGames.WurfelEngine | |
com.BombingGames.WurfelEngine.Core | |
com.BombingGames.WurfelEngine.Core.BasicMainMenu |
This package provies a basic main menu.
|
com.BombingGames.WurfelEngine.Core.Gameobjects |
Game Objects are objects liek entities and block which can be found in the map.
|
com.BombingGames.WurfelEngine.Core.LightEngine | |
com.BombingGames.WurfelEngine.Core.Map | |
com.BombingGames.WurfelEngine.MapEditor | |
com.BombingGames.WurfelEngine.shooting |
Modifier and Type | Method and Description |
---|---|
static void |
WE.initGame(Controller controller,
GameView view,
Configuration config)
Initialize the main game with you custom controller and view.
|
static void |
WE.switchSetup(Controller controller,
GameView view)
Use this if you want to continue to use a different controller and view.
|
static void |
WE.switchSetupWithInit(Controller controller,
GameView view)
Use this if you want to use different controller and views.
|
Modifier and Type | Method and Description |
---|---|
GameView |
GameplayScreen.getView() |
Modifier and Type | Method and Description |
---|---|
void |
DevTools.render(GameView view)
Renders the diagramm
|
void |
Camera.render(GameView view,
Camera camera)
Renders the viewport
|
void |
GameplayScreen.setView(GameView view) |
Constructor and Description |
---|
Camera(AbstractEntity focusentity,
int x,
int y,
int width,
int height,
GameView view,
Controller controller)
Creates a camera focusing an entity.
|
Camera(Coordinate focus,
int x,
int y,
int width,
int height,
GameView view,
Controller controller)
Create a camera focusin a specific coordinate.
|
Camera(GameView view,
Controller controller)
Creates a fullscale camera pointing at the middle of the map.
|
Camera(int x,
int y,
int width,
int height,
GameView view,
Controller controller)
Creates a camera pointing at the middle of the map.
|
GameplayScreen(Controller controller,
GameView view,
Configuration config)
Create the gameplay state.
|
Modifier and Type | Class and Description |
---|---|
class |
GameViewWithCamera
A simple Controller which adds a camera.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends GameView> |
BasicMenuItem.getGameView() |
Constructor and Description |
---|
BasicMenuItem(int index,
java.lang.String label,
java.lang.Class<? extends Controller> gameController,
java.lang.Class<? extends GameView> gameView,
Configuration config)
Create a new menu Item which can launch a game.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractEntity.render(GameView view,
Camera camera)
renders using it's saved postion
|
void |
Selection.update(GameView view,
int screenX,
int screenY)
Updates thhe selection using the screen position of the cursor.
|
Modifier and Type | Method and Description |
---|---|
void |
LightEngine.render(GameView view)
Shows the data of the light engine in diagramms.
|
Modifier and Type | Method and Description |
---|---|
void |
Minimap.buildMinimap(GameView view)
Updates the minimap- Should only be done after changing the map.
|
void |
LoadMenu.init(GameView view) |
void |
Minimap.render(GameView view)
Renders the Minimap.
|
void |
LoadMenu.setOpen(GameView view,
boolean open)
Open/close the window
|
Modifier and Type | Class and Description |
---|---|
class |
MapEditorView |
Modifier and Type | Method and Description |
---|---|
protected void |
Navigation.render(GameView view) |
Constructor and Description |
---|
MapEditorController(GameView gameplayView,
Controller gameplayController)
Create an editor controller with coressponding gameplay classes.
|
Modifier and Type | Method and Description |
---|---|
void |
Weapon.renderBig(GameView view,
int x,
int y)
Renders a big version of the image
|