Package | Description |
---|---|
com.BombingGames.WurfelEngine.Core | |
com.BombingGames.WurfelEngine.Core.Gameobjects |
Game Objects are objects liek entities and block which can be found in the map.
|
com.BombingGames.WurfelEngine.Core.Map |
Modifier and Type | Method and Description |
---|---|
AbstractPosition |
RenderDataDTO.getPosition() |
Constructor and Description |
---|
RenderDataDTO(AbstractGameObject object,
AbstractPosition pos)
Create an Renderobject with a regular Block in the map
|
Modifier and Type | Method and Description |
---|---|
AbstractPosition |
EntitySpawner.getPosition() |
AbstractPosition |
IsSelfAware.getPosition()
Return the coordinates of the SelfAware object.
|
Modifier and Type | Method and Description |
---|---|
void |
Block.onDestroy(AbstractPosition pos)
Overwrite to define what should happen if the block is getting destroyed?
|
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 pos) |
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,
Sides 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,
Sides side,
float scale)
Render a side of a block at the position of the coordinates.
|
void |
AbstractEntity.setPosition(AbstractPosition pos) |
void |
EntitySpawner.setPosition(AbstractPosition pos) |
void |
ExplosiveBarrel.setPosition(AbstractPosition pos) |
void |
IsSelfAware.setPosition(AbstractPosition pos)
Set the coordinates without safety check.
|
void |
MovableEntity.setPosition(AbstractPosition pos) |
void |
Sea.setPosition(AbstractPosition pos) |
void |
Selection.setPosition(AbstractPosition pos) |
Modifier and Type | Class and Description |
---|---|
class |
Coordinate
A coordinate is a reference to a specific cell in the map.
|
class |
Point
A point is a single position in the game world not bound to the grid.
|
Modifier and Type | Method and Description |
---|---|
abstract AbstractPosition |
AbstractPosition.addVector(float[] vector) |
abstract AbstractPosition |
AbstractPosition.addVector(float x,
float y,
float z)
Add a vector to the position.
|
abstract AbstractPosition |
AbstractPosition.addVector(com.badlogic.gdx.math.Vector3 vector) |
abstract AbstractPosition |
AbstractPosition.cpy() |