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 booleanCamera. 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 PositionAbstractGameObject. 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 voidAbstractEntity. setPosition(Position pos)abstract voidAbstractGameObject. setPosition(Position pos)Set the coordinates without safety check.voidCursor. setPosition(Position pos)voidPointLightSource. 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.ColorLightEngine. getAmbient(Position pos)Returns the sum of every light source's ambient lightcom.badlogic.gdx.graphics.ColorLightEngine. getColor(Side normal, Position pos)copy safeGlobalLightSourceLightEngine. getMoon(Position pos)You can pass the position if the moon changes relative to the postition.GlobalLightSourceLightEngine. getSun(Position pos)You can pass the position if the sun changes relative to the postition.voidLightEngine. render(GameView view, Position pos)Shows the data of the light engine in diagramms.voidLightEngine. setToNight(Position pos)voidLightEngine. 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 classCoordinateA coordinate is a reference to a specific cell in the map.classPfNodeclassPointA 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 PositionPosition. cpy()Methods in com.bombinggames.wurfelengine.core.map with parameters of type Position Modifier and Type Method Description floatCoordinate. distanceTo(Position point)floatPoint. distanceTo(Position pos)floatPosition. distanceTo(Position pos)floatCoordinate. distanceToHorizontal(Position point)floatPoint. distanceToHorizontal(Position pos)floatPosition. distanceToHorizontal(Position pos)checks only x and y.floatCoordinate. distanceToHorizontalSquared(Position point)floatPoint. distanceToHorizontalSquared(Position pos)floatPosition. distanceToHorizontalSquared(Position pos)checks only x and y.floatCoordinate. distanceToSquared(Position pos)floatPoint. distanceToSquared(Position pos)floatPosition. 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 voidRenderCell. 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 voidAimBand. 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 floatSoundEngine. getVolume(Position pos)calculates the volume of a sound based on the positon in the game world.longSoundEngine. loop(java.lang.String identifier, Position pos)Starts playing a loop.voidSoundEngine. play(java.lang.String identifier, Position pos)Plays sound with decreasing volume depending on distance.voidSoundEngine. play(java.lang.String identifier, Position pos, float volume)Plays sound with decreasing volume depending on distance.
-