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.LightEngine |
Modifier and Type | Method and Description |
---|---|
Side |
Selection.getNormalSide() |
static Side |
Side.normalToSide(com.badlogic.gdx.math.Vector3 normal)
Get the side belonging to a vector
|
static Side |
Side.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Side[] |
Side.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static com.badlogic.gdx.graphics.g2d.TextureAtlas.AtlasRegion |
RenderBlock.getBlockSprite(int id,
int value,
Side side)
Returns a sprite sprite of a specific side of the block
|
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 |
RenderBlock.renderSide(View view,
int xPos,
int yPos,
Side side)
Ignores lightlevel.
|
void |
RenderBlock.renderSide(View view,
int xPos,
int yPos,
Side side,
com.badlogic.gdx.graphics.Color color)
Draws a side of a block at a custom position.
|
void |
Selection.setNormal(Side side) |
Modifier and Type | Method and Description |
---|---|
com.badlogic.gdx.graphics.Color |
LightEngine.getColor(Side normal) |