Uses of Class
com.bombinggames.wurfelengine.core.map.Coordinate
- 
Packages that use Coordinate 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.map com.bombinggames.wurfelengine.core.map.rendering com.bombinggames.wurfelengine.extension.shooting com.bombinggames.wurfelengine.mapeditor 
- 
- 
Uses of Coordinate in com.bombinggames.wurfelengine.core.gameobjectsMethods in com.bombinggames.wurfelengine.core.gameobjects that return Coordinate Modifier and Type Method Description CoordinateAbstractEntity. getCoord()abstract CoordinateAbstractGameObject. getCoord()not copy saveCoordinateCursor. getCoordInNormalDirection()if at ground does not move up
- 
Uses of Coordinate in com.bombinggames.wurfelengine.core.mapSubclasses of Coordinate in com.bombinggames.wurfelengine.core.map Modifier and Type Class Description classPfNodeMethods in com.bombinggames.wurfelengine.core.map that return Coordinate Modifier and Type Method Description CoordinateCoordinate. add(int[] vector)Add a vector to the coordinates.CoordinateCoordinate. add(int x, int y, int z)Add a vector to the coordinates.CoordinateCoordinate. add(com.badlogic.gdx.math.Vector3 vector)CoordinateCoordinate. cpy()CoordinateCoordinate. getCoord()CoordinatePoint. getCoord()CoordinatePosition. getCoord()May not be copy safe.CoordinateAbstractBlockLogicExtension. getPosition()This method must be named "getPosition" so that this method can implement other interfaces using this API signaturestatic CoordinateCoordinate. getShared()CoordinateCoordinate. goToNeighbour(int neighbourSide)Goes to the the neighbour with the specific side.CoordinateCoordinate. set(int x, int y, int z)CoordinateCoordinate. set(Coordinate coord)CoordinateCoordinate. setFromPoint(Point from)avoids a new instance.CoordinateCoordinate. toCoord()CoordinatePoint. toCoord()returns coordinate aquivalent.CoordinatePosition. toCoord()Calculates it and creates new instance if not already in correct format then returns copy of itself.Methods in com.bombinggames.wurfelengine.core.map with parameters of type Coordinate Modifier and Type Method Description com.badlogic.gdx.ai.pfa.DefaultGraphPath<PfNode>Map. findPath(Coordinate start, Coordinate goal)intMap. getBlock(Coordinate coord)id, value and healthbyteMap. getBlockId(Coordinate coord)If the block can not be found returns null pointer.ChunkMap. getChunkContaining(Coordinate coord)get the chunk where the coordinates are on.java.util.LinkedList<AbstractEntity>Map. getEntitysOnCoord(Coordinate coord)Get every entity on a coord.<T> java.util.LinkedList<T>Map. getEntitysOnCoord(Coordinate coord, java.lang.Class<T> filter)Get every entity on a coord of the wanted typebyteMap. getHealth(Coordinate coord)AbstractBlockLogicExtensionChunk. getLogic(Coordinate coord)Get the logic to a logicblock.AbstractBlockLogicExtensionMap. getLogic(Coordinate coord)booleanChunk. hasCoord(Coordinate coord)Check if the chunk has the coordinate inside.static IntersectionIntersection. intersect(Coordinate target, Point p, com.badlogic.gdx.math.Vector3 dir)performs a line-box intersection.
 The result are outside the coordiante grid field, so they are forced in it.booleanCoordinate. isInCube(Coordinate x1, Coordinate x2)Checks wether the coordinate is in a cube spanning by both coordinates.voidMap. loadChunk(Coordinate coord)loads a chunk from disk if not already loaded.static AbstractBlockLogicExtensionAbstractBlockLogicExtension. newLogicInstance(byte blockId, byte value, Coordinate coord)Creates a new logic instance if registered.CoordinateCoordinate. set(Coordinate coord)voidChunk. setBlock(Coordinate coord, byte id)Almost lowest level method to set a block in the map.voidChunk. setBlock(Coordinate coord, byte id, byte value)Almost lowest level method to set a block in the map.voidChunk. setBlock(Coordinate coord, byte id, byte value, byte health)Almost lowest level method to set a block in the map.voidMap. setBlock(Coordinate coord, byte id)Set a block at this coordinate.voidMap. setBlock(Coordinate coord, byte id, byte value)Set id and value at a coordinate in the map.voidMap. setBlock(Coordinate coord, int block)Set id, value and health at a coordinate in the map.PointPoint. setFromCoord(Coordinate coord)Set x,y,z based on a coordinate.voidChunk. setHealth(Coordinate coord, byte health)Set health of a cell.voidMap. setHealth(Coordinate coord, byte health)Set health of a cell.voidChunk. setValue(Coordinate coord, byte value)voidMap. setValue(Coordinate coord, byte value)Constructors in com.bombinggames.wurfelengine.core.map with parameters of type Coordinate Constructor Description Coordinate(Coordinate coord)Creates a new coordinate from an existing coordinatePfNode(Coordinate coord)PfNode(Coordinate coord, int index)
- 
Uses of Coordinate in com.bombinggames.wurfelengine.core.map.renderingMethods in com.bombinggames.wurfelengine.core.map.rendering that return Coordinate Modifier and Type Method Description CoordinateRenderCell. getCoord()CoordinateRenderCell. getPosition()Methods in com.bombinggames.wurfelengine.core.map.rendering with parameters of type Coordinate Modifier and Type Method Description RenderCellRenderChunk. getCell(Coordinate coord)RenderCellRenderStorage. getCell(Coordinate coord)If the cell can not be found returnsRenderChunk.CELLOUTSIDE.RenderChunkRenderStorage. getChunk(Coordinate coord)get the chunk where the coordinates are on.booleanRenderStorage. isClipped(Coordinate coords)get if a coordinate is clippedRenderCellRenderStorage. refreshCell(Coordinate coord, byte id, byte value)creates a newRenderCellinstance at the coordinatevoidRenderStorage. setLightFlag(Coordinate coord)Marks this block as "dirty".voidRenderCell. setPosition(Coordinate coord)keeps referenceRenderCellRenderCell. spawn(RenderStorage rS, Coordinate coord)places the object on the map.
- 
Uses of Coordinate in com.bombinggames.wurfelengine.extension.shootingMethods in com.bombinggames.wurfelengine.extension.shooting with parameters of type Coordinate Modifier and Type Method Description voidBullet. ignoreCoord(Coordinate coord)
- 
Uses of Coordinate in com.bombinggames.wurfelengine.mapeditorMethods in com.bombinggames.wurfelengine.mapeditor with parameters of type Coordinate Modifier and Type Method Description voidCursorInfo. updateFrom(int block, Coordinate coord)
 
-