Package | Description |
---|---|
com.BombingGames.WurfelEngine.Core.Gameobjects |
Game Objects are objects like entities and block which can be found in the map.
|
com.BombingGames.WurfelEngine.Core.Map | |
com.BombingGames.WurfelEngine.Core.SoundEngine |
Modifier and Type | Method and Description |
---|---|
abstract AbstractPosition |
AbstractGameObject.getPosition()
Return the coordinates of the SelfAware object.
|
Modifier and Type | Method and Description |
---|---|
void |
RenderBlock.renderSide(GameView view,
Camera camera,
AbstractPosition coords,
Side side,
boolean staticShade)
Render a side of a block at the position of the coordinates.
|
void |
AbstractEntity.setPosition(AbstractPosition pos) |
abstract void |
AbstractGameObject.setPosition(AbstractPosition pos)
Set the coordinates without safety check.
|
void |
RenderBlock.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() |
Modifier and Type | Method and Description |
---|---|
protected float |
SoundEngine.getVolume(AbstractPosition pos)
calculates the volume of a soundIterator based on the posiiton in the game world
|
long |
SoundEngine.loop(java.lang.String identifier,
AbstractPosition pos)
playingLoops a soundIterator.
|
void |
SoundEngine.play(java.lang.String identifier,
AbstractPosition pos)
Plays soundIterator with decreasing volume depending on distance.
|