Package | Description |
---|---|
com.BombingGames.WurfelEngine.Core | |
com.BombingGames.WurfelEngine.Core.Gameobjects | |
com.BombingGames.WurfelEngine.Core.Map |
Modifier and Type | Method and Description |
---|---|
AbstractPosition |
RenderDataDTO.getCoords() |
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.getPos() |
AbstractPosition |
IsSelfAware.getPos()
Return the coordinates of the SelfAware object.
|
Modifier and Type | Method and Description |
---|---|
int |
AbstractEntity.getDepth(AbstractPosition pos) |
abstract int |
AbstractGameObject.getDepth(AbstractPosition pos)
Returns the depth of the object.
|
int |
Block.getDepth(AbstractPosition coords) |
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 |
AbstractEntity.setPos(AbstractPosition pos) |
void |
EntitySpawner.setPos(AbstractPosition pos) |
void |
ExplosiveBarrel.setPos(AbstractPosition pos) |
void |
IsSelfAware.setPos(AbstractPosition pos)
Set the coordinates without safety check.
|
void |
Sea.setPos(AbstractPosition pos) |
Constructor and Description |
---|
AnimatedEntity(int id,
int value,
AbstractPosition pos,
int[] animationsinformation,
boolean autostart,
boolean loop)
Create an entity with an animation with an array wich has the time of every animation step in ms in it.
|
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 positionin the game workd 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) |
AbstractPosition |
Point.addVector(float x,
float y,
float z) |
abstract AbstractPosition |
AbstractPosition.addVector(com.badlogic.gdx.math.Vector3 vector) |
abstract AbstractPosition |
AbstractPosition.cpy() |