Package | Description |
---|---|
com.BombingGames.WurfelEngine.Core | |
com.BombingGames.WurfelEngine.Core.Gameobjects | |
com.BombingGames.WurfelEngine.Core.Map |
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<Camera> |
View.getCameras()
Returns a camera.
|
Modifier and Type | Method and Description |
---|---|
protected void |
View.addCamera(Camera camera)
Add a camera.
|
void |
Camera.render(View view,
Camera camera)
Renders the viewport
|
float |
View.screenXtoGame(int x,
Camera camera)
Reverts the perspective and transforms it into a coordiante which can be used in the game logic.
|
float |
View.screenYtoGame(int y,
Camera camera)
Reverts the perspective and transforms it into a coordiante which can be used in the game logic.
|
Modifier and Type | Method and Description |
---|---|
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 |
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 |
PlayerWithWeapon.setCamera(Camera camera)
Set the camera which is renderin the player to calculate the aiming.
|
Constructor and Description |
---|
Minimap(Controller controller,
Camera camera,
int outputX,
int outputY)
Create a minimap.
|