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 | |
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,
View view,
Configuration config)
Initialize the main game with you custom controller and view.
|
static void |
WE.switchSetup(Controller controller,
View view)
Use this if you want to continue to use a different controller and view.
|
static void |
WE.switchSetupWithInit(Controller controller,
View view)
Use this if you want to use different controller and views.
|
Modifier and Type | Method and Description |
---|---|
View |
GameplayScreen.getView() |
Modifier and Type | Method and Description |
---|---|
void |
DevTools.render(View view)
Renders the diagramm
|
void |
MsgSystem.render(View view)
Draws the Messages
|
void |
Camera.render(View view,
Camera camera)
Renders the viewport
|
void |
GameplayScreen.setView(View view) |
void |
LoadMenu.viewInit(View view)
Setups the window.
|
Constructor and Description |
---|
GameplayScreen(Controller controller,
View 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 View> |
BasicMenuItem.getGameView() |
Constructor and Description |
---|
BasicMenuItem(int index,
java.lang.String label,
java.lang.Class<? extends Controller> gameController,
java.lang.Class<? extends View> gameView,
Configuration config)
Create a new menu Item and say which texture it should have.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractGameObject.prepareColor(View view,
com.badlogic.gdx.graphics.Color color)
Transform the color that it works with the blending mode which is also set in this method.
|
void |
AbstractGameObject.render(View view,
Camera camera,
AbstractPosition pos)
Draws an object in the color of the light engine and with the lightlevel.
|
void |
Block.render(View view,
Camera camera,
AbstractPosition coords) |
void |
AbstractGameObject.render(View view,
Camera camera,
AbstractPosition pos,
com.badlogic.gdx.graphics.Color color)
Draws an object if it is not hidden and not clipped.
|
void |
AbstractGameObject.render(View view,
Camera camera,
AbstractPosition pos,
com.badlogic.gdx.graphics.Color color,
float scale)
Draws an object if it is not hidden and not clipped.
|
void |
AbstractGameObject.render(View view,
Camera camera,
AbstractPosition pos,
float scale)
Draws an object in the color of the light engine and with the lightlevel.
|
void |
AbstractGameObject.render(View view,
int xPos,
int yPos)
Renders at a custom position with the global light.
|
void |
Block.render(View view,
int xPos,
int yPos)
Render the whole block at a custom position and checks for clipping and hidden.
|
void |
AbstractGameObject.render(View view,
int xPos,
int yPos,
com.badlogic.gdx.graphics.Color color,
float scale)
Renders at a custom position with a custom light.
|
void |
Block.render(View view,
int xPos,
int yPos,
com.badlogic.gdx.graphics.Color color,
float scale) |
void |
Block.render(View view,
int xPos,
int yPos,
com.badlogic.gdx.graphics.Color color,
float scale,
boolean staticShade)
Renders the whole block at a custom position with a scale.
|
void |
AbstractGameObject.render(View view,
int xPos,
int yPos,
float scale)
Renders at a custom position with the global light.
|
void |
Block.renderSide(View view,
Camera camera,
AbstractPosition coords,
int side,
com.badlogic.gdx.graphics.Color color,
float scale)
Render a side of a block at the position of the coordinates.
|
void |
Block.renderSide(View view,
Camera camera,
AbstractPosition coords,
int side,
float scale)
Render a side of a block at the position of the coordinates.
|
void |
Block.renderSide(View view,
int xPos,
int yPos,
int sidenumb)
Ignores lightlevel.
|
void |
Block.renderSide(View view,
int xPos,
int yPos,
int sidenumb,
com.badlogic.gdx.graphics.Color color,
float scale)
Draws a side of a block at a custom position.
|
Modifier and Type | Method and Description |
---|---|
void |
LightEngine.render(View view)
Shows the data of the light engine in diagramms.
|
Modifier and Type | Method and Description |
---|---|
void |
Minimap.render(View view)
Renders the Minimap.
|
Modifier and Type | Class and Description |
---|---|
class |
MapEditorView |
Modifier and Type | Method and Description |
---|---|
protected void |
Navigation.render(View view) |
Constructor and Description |
---|
MapEditorController(View gameplayView,
Controller gameplayController)
Create an editor controller with coressponding gameplay classes.
|
Modifier and Type | Method and Description |
---|---|
void |
Weapon.renderBig(View view,
int x,
int y)
Renders a big version of the image
|