Package | Description |
---|---|
com.BombingGames.WurfelEngine.Core.Gameobjects |
Game Objects are objects liek entities and block which can be found in the map.
|
com.BombingGames.WurfelEngine.Core.LightEngine |
Modifier and Type | Method and Description |
---|---|
Sides |
Selection.getNormalSides() |
static Sides |
Sides.normalToSide(com.badlogic.gdx.math.Vector3 normal) |
static Sides |
Sides.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Sides[] |
Sides.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 |
Block.getBlockSprite(int id,
int value,
Sides side)
Returns a sprite sprite of a specific side of the block
|
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 |
Block.renderSide(View view,
int xPos,
int yPos,
Sides sidenumb)
Ignores lightlevel.
|
void |
Block.renderSide(View view,
int xPos,
int yPos,
Sides side,
com.badlogic.gdx.graphics.Color color,
float scale)
Draws a side of a block at a custom position.
|
void |
Selection.setNormal(Sides side) |
void |
Block.setSideClipping(Sides side,
boolean clipping)
Make a side (in)clipping.
|
Modifier and Type | Method and Description |
---|---|
com.badlogic.gdx.graphics.Color |
LightEngine.getColor(Sides normal)
Get's the brightness to a normal.
|