Uses of Class
com.bombinggames.wurfelengine.core.gameobjects.Side
-
Packages that use Side 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 com.bombinggames.wurfelengine.core.map com.bombinggames.wurfelengine.core.map.rendering -
-
Uses of Side in com.bombinggames.wurfelengine.core.gameobjects
Methods in com.bombinggames.wurfelengine.core.gameobjects that return Side Modifier and Type Method Description static Side
Side. calculateNormal(Point point)
Side
Cursor. getNormalSide()
static Side
Side. normalToSide(com.badlogic.gdx.math.Vector3 normal)
Get the side belonging to a vectorstatic 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.Methods in com.bombinggames.wurfelengine.core.gameobjects with parameters of type Side Modifier and Type Method Description void
Cursor. setNormal(Side side)
-
Uses of Side in com.bombinggames.wurfelengine.core.lightengine
Methods in com.bombinggames.wurfelengine.core.lightengine with parameters of type Side Modifier and Type Method Description com.badlogic.gdx.graphics.Color
LightEngine. getColor(Side normal, Position pos)
copy safe -
Uses of Side in com.bombinggames.wurfelengine.core.map
Methods in com.bombinggames.wurfelengine.core.map that return Side Modifier and Type Method Description Side
Intersection. getNormal()
Methods in com.bombinggames.wurfelengine.core.map with parameters of type Side Modifier and Type Method Description void
Coordinate. addLight(GameView view, Side side, byte vertex, com.badlogic.gdx.graphics.Color color)
Add light to the RenderStorage at this coordiantevoid
Coordinate. addLightToBackEdge(GameView view, Side side, com.badlogic.gdx.graphics.Color color)
Add light to the back edge of a coordinate and it's neighbors-Constructors in com.bombinggames.wurfelengine.core.map with parameters of type Side Constructor Description Intersection(Point point, Side normal, float distance)
-
Uses of Side in com.bombinggames.wurfelengine.core.map.rendering
Methods in com.bombinggames.wurfelengine.core.map.rendering with parameters of type Side Modifier and Type Method Description void
RenderCell. addLightlevel(float lightlevel, Side side, RenderCell.Channel channel, byte vertex)
static com.badlogic.gdx.graphics.g2d.TextureAtlas.AtlasRegion
RenderCell. getBlockSprite(byte id, byte value, Side side)
Returns a sprite sprite of a specific side of the blockfloat
RenderCell. getLightlevel(Side side, byte vertex, RenderCell.Channel channel)
void
RenderCell. renderSide(GameView view, int xPos, int yPos, Side side, com.badlogic.gdx.graphics.Color color)
uses heap, projection spacevoid
RenderCell. renderSide(GameView view, Side side, boolean staticShade)
Render a side of a block at the position of the internal coordinates.void
RenderCell. renderSide(GameView view, Point pos, Side side, com.badlogic.gdx.graphics.Color color)
Draws a side of a cell at a custom position.void
RenderCell. setLightlevel(float lightlevel, Side side)
void
RenderCell. setLightlevel(float lightlevel, Side side, byte vertex)
void
RenderCell. setLightlevel(float lightlevel, Side side, RenderCell.Channel channel, byte vertex)
Constructors in com.bombinggames.wurfelengine.core.map.rendering with parameters of type Side Constructor Description GameSpaceSprite(com.badlogic.gdx.graphics.g2d.TextureRegion region, Side side, byte aoFlags)
An object helping with rendering a blokc made out of sides
-