Package | Description |
---|---|
com.BombingGames.WurfelEngine | |
com.BombingGames.WurfelEngine.Core | |
com.BombingGames.WurfelEngine.Core.BasicMainMenu |
This package provies a basic main menu.
|
com.BombingGames.WurfelEngine.MapEditor |
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 |
---|---|
Controller |
GameView.getController() |
Controller |
GameplayScreen.getController() |
Modifier and Type | Method and Description |
---|---|
void |
GameView.init(Controller controller)
Loades some files and set up everything.
|
void |
GameplayScreen.setController(Controller controller) |
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 | Method and Description |
---|---|
java.lang.Class<? extends Controller> |
BasicMenuItem.getGameController() |
Modifier and Type | Method and Description |
---|---|
void |
GameViewWithCamera.init(Controller controller) |
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 | Class and Description |
---|---|
class |
MapEditorController |
Modifier and Type | Method and Description |
---|---|
void |
MapEditorView.init(Controller controller) |
Constructor and Description |
---|
MapEditorController(GameView gameplayView,
Controller gameplayController)
Create an editor controller with coressponding gameplay classes.
|