Uses of Class
com.bombinggames.wurfelengine.core.map.Point
-
Packages that use Point 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.map com.bombinggames.wurfelengine.core.map.rendering com.bombinggames.wurfelengine.core.sorting com.bombinggames.wurfelengine.extension This package includes various extensions and tools to the engine.com.bombinggames.wurfelengine.extension.shooting -
-
Uses of Point in com.bombinggames.wurfelengine.core
Methods in com.bombinggames.wurfelengine.core that return Point Modifier and Type Method Description PointCamera. getCenter()Returns the focuspoint.PointGameView. screenToGameBasic(int x, int y)Returns matching point on the ground.Methods in com.bombinggames.wurfelengine.core with parameters of type Point Modifier and Type Method Description voidCamera. setCenter(Point point)Set the cameras center to a point.Constructors in com.bombinggames.wurfelengine.core with parameters of type Point Constructor Description Camera(GameView view, int x, int y, int width, int height, Point center)Create a camera focusin a specific coordinate. -
Uses of Point in com.bombinggames.wurfelengine.core.gameobjects
Methods in com.bombinggames.wurfelengine.core.gameobjects that return Point Modifier and Type Method Description PointMoveToAi. getGoal()PointAbstractEntity. getPoint()abstract PointAbstractGameObject. getPoint()Can be internal reference or shared object.PointAbstractEntity. getPosition()Methods in com.bombinggames.wurfelengine.core.gameobjects with parameters of type Point Modifier and Type Method Description static SideSide. calculateNormal(Point point)booleanMovableEntity. collidesWithWorld(Point pos, float colissionRadius)check for horizontal colission (x and y)
O(1)booleanMovableEntity. isOnCeil(Point pos)Check if the top is coliding with a block.voidAbstractEntity. setPosition(Point pos)keeps the referencevoidCursor. setPosition(Point pos)voidPointLightSource. setPosition(Point pos)AbstractEntityAbstractEntity. spawn(Point point)Add this entity to the map-> let it spawnAbstractEntityCursor. spawn(Point point)AbstractEntityExplosion. spawn(Point point)explodesMovableEntityMovableEntity. spawn(Point point)AbstractEntityParticleEmitter. spawn(Point point)Constructors in com.bombinggames.wurfelengine.core.gameobjects with parameters of type Point Constructor Description MoveToAi(Point goal) -
Uses of Point in com.bombinggames.wurfelengine.core.map
Methods in com.bombinggames.wurfelengine.core.map that return Point Modifier and Type Method Description PointPoint. add(float[] vector)Add a vector to the positionPointPoint. add(float x, float y, float z)Add a vector to the positionPointPoint. add(com.badlogic.gdx.math.Vector2 vector)Add a vector to the positionPointPoint. add(com.badlogic.gdx.math.Vector3 vector)Add a vector to the positionPointPoint. cpy()avoid this method because it creates a new instance.PointMap. getCenter()Returns a coordinate pointing to the absolute center of the map.PointMap. getCenter(float height)Returns a coordinate pointing to middle of a 3x3 chunk map.PointCoordinate. getPoint()PointIntersection. getPoint()PointPoint. getPoint()PointPosition. getPoint()May not be copy safe.static PointPoint. getShared()A shared object to pass values without using the heap.PointPoint. set(Point point)overwrites the coordinates with values from another point.PointPoint. setFromCoord(Coordinate coord)Set x,y,z based on a coordinate.PointPoint. setToCenterOfCell()Relative to the current coordiante field set the offset.PointCoordinate. toPoint()Copy safe.PointPoint. toPoint()PointPosition. toPoint()Calculates it and creates new instance if not already in correct format then return a copy of itself.Methods in com.bombinggames.wurfelengine.core.map with parameters of type Point Modifier and Type Method Description voidIntersection. calcNormal(Point p)Calcualte the normal based of the position of the point.booleanPoint. canSee(Point p, float maxdistance)floatPoint. distanceTo(Point point)floatPoint. distanceToHorizontal(Point point)checks only x and y.floatPoint. distanceToHorizontalSquared(Point point)checks only x and y.floatPoint. distanceToSquared(Point point)The result is squared for fast comparison.ChunkMap. getChunkContaining(Point point)booleanChunk. hasPoint(Point point)Check if the coordinate 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.PointPoint. set(Point point)overwrites the coordinates with values from another point.CoordinateCoordinate. setFromPoint(Point from)avoids a new instance.Constructors in com.bombinggames.wurfelengine.core.map with parameters of type Point Constructor Description Intersection(Point point, Side normal, float distance)Point(Point point)Copy-constructor. -
Uses of Point in com.bombinggames.wurfelengine.core.map.rendering
Methods in com.bombinggames.wurfelengine.core.map.rendering that return Point Modifier and Type Method Description PointRenderCell. getPoint()Methods in com.bombinggames.wurfelengine.core.map.rendering with parameters of type Point Modifier and Type Method Description RenderCellRenderStorage. getCell(Point point)If the block can not be found returns null pointer.voidRenderCell. renderSide(GameView view, Point pos, Side side, com.badlogic.gdx.graphics.Color color)Draws a side of a cell at a custom position. -
Uses of Point in com.bombinggames.wurfelengine.core.sorting
Methods in com.bombinggames.wurfelengine.core.sorting with parameters of type Point Modifier and Type Method Description voidTopologicalSort. drawGrass(int n, Point pos) -
Uses of Point in com.bombinggames.wurfelengine.extension
Methods in com.bombinggames.wurfelengine.extension with parameters of type Point Modifier and Type Method Description UserControlledShooterUserControlledShooter. spawn(Point point) -
Uses of Point in com.bombinggames.wurfelengine.extension.shooting
Methods in com.bombinggames.wurfelengine.extension.shooting that return Point Modifier and Type Method Description PointWeapon. getFixedPos()PointWeapon. getImpactPoint()returns the position of the laserdot, the point where the aiming impactsMethods in com.bombinggames.wurfelengine.extension.shooting with parameters of type Point Modifier and Type Method Description voidWeapon. setFixedPos(Point fixedPos)The point where the weapon returns after shooting.MovableEntityBullet. spawn(Point point)voidLaserdot. update(Point origin, com.badlogic.gdx.math.Vector3 aimDir)
-