Uses of Interface
com.bombinggames.wurfelengine.core.map.Position
-
Packages that use Position Package Description com.bombinggames.wurfelengine.core 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 com.bombinggames.wurfelengine.extension This package includes various extensions and tools to the engine.com.bombinggames.wurfelengine.soundengine -
-
Uses of Position in com.bombinggames.wurfelengine.core
Methods in com.bombinggames.wurfelengine.core with parameters of type Position Modifier and Type Method Description boolean
Camera. inViewFrustum(Position pos)
checks if the projected position is inside the viewMat Frustum -
Uses of Position in com.bombinggames.wurfelengine.core.gameobjects
Methods in com.bombinggames.wurfelengine.core.gameobjects that return Position Modifier and Type Method Description abstract Position
AbstractGameObject. getPosition()
Return the coordinates of the object in the game world.Methods in com.bombinggames.wurfelengine.core.gameobjects with parameters of type Position Modifier and Type Method Description void
AbstractEntity. setPosition(Position pos)
abstract void
AbstractGameObject. setPosition(Position pos)
Set the coordinates without safety check.void
Cursor. setPosition(Position pos)
void
PointLightSource. setPosition(Position pos)
-
Uses of Position in com.bombinggames.wurfelengine.core.lightengine
Methods in com.bombinggames.wurfelengine.core.lightengine with parameters of type Position Modifier and Type Method Description com.badlogic.gdx.graphics.Color
LightEngine. getAmbient(Position pos)
Returns the sum of every light source's ambient lightcom.badlogic.gdx.graphics.Color
LightEngine. getColor(Side normal, Position pos)
copy safeGlobalLightSource
LightEngine. getMoon(Position pos)
You can pass the position if the moon changes relative to the postition.GlobalLightSource
LightEngine. getSun(Position pos)
You can pass the position if the sun changes relative to the postition.void
LightEngine. render(GameView view, Position pos)
Shows the data of the light engine in diagramms.void
LightEngine. setToNight(Position pos)
void
LightEngine. setToNoon(Position pos)
-
Uses of Position in com.bombinggames.wurfelengine.core.map
Classes in com.bombinggames.wurfelengine.core.map that implement Position Modifier and Type Class Description class
Coordinate
A coordinate is a reference to a specific cell in the map.class
PfNode
class
Point
A point is a single position in the game world not bound to the grid.Methods in com.bombinggames.wurfelengine.core.map that return Position Modifier and Type Method Description Position
Position. cpy()
Methods in com.bombinggames.wurfelengine.core.map with parameters of type Position Modifier and Type Method Description float
Coordinate. distanceTo(Position point)
float
Point. distanceTo(Position pos)
float
Position. distanceTo(Position pos)
float
Coordinate. distanceToHorizontal(Position point)
float
Point. distanceToHorizontal(Position pos)
float
Position. distanceToHorizontal(Position pos)
checks only x and y.float
Coordinate. distanceToHorizontalSquared(Position point)
float
Point. distanceToHorizontalSquared(Position pos)
float
Position. distanceToHorizontalSquared(Position pos)
checks only x and y.float
Coordinate. distanceToSquared(Position pos)
float
Point. distanceToSquared(Position pos)
float
Position. distanceToSquared(Position pos)
The result is squared for fast comparison. -
Uses of Position in com.bombinggames.wurfelengine.core.map.rendering
Methods in com.bombinggames.wurfelengine.core.map.rendering with parameters of type Position Modifier and Type Method Description void
RenderCell. setPosition(Position pos)
-
Uses of Position in com.bombinggames.wurfelengine.extension
Methods in com.bombinggames.wurfelengine.extension with parameters of type Position Modifier and Type Method Description void
AimBand. setTarget(Position goal)
Constructors in com.bombinggames.wurfelengine.extension with parameters of type Position Constructor Description AimBand(Position goal)
AimBand(Position start, Position end)
-
Uses of Position in com.bombinggames.wurfelengine.soundengine
Methods in com.bombinggames.wurfelengine.soundengine with parameters of type Position Modifier and Type Method Description protected float
SoundEngine. getVolume(Position pos)
calculates the volume of a sound based on the positon in the game world.long
SoundEngine. loop(java.lang.String identifier, Position pos)
Starts playing a loop.void
SoundEngine. play(java.lang.String identifier, Position pos)
Plays sound with decreasing volume depending on distance.void
SoundEngine. play(java.lang.String identifier, Position pos, float volume)
Plays sound with decreasing volume depending on distance.
-