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 Point
Camera. getCenter()
Returns the focuspoint.Point
GameView. 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 void
Camera. 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 Point
MoveToAi. getGoal()
Point
AbstractEntity. getPoint()
abstract Point
AbstractGameObject. getPoint()
Can be internal reference or shared object.Point
AbstractEntity. getPosition()
Methods in com.bombinggames.wurfelengine.core.gameobjects with parameters of type Point Modifier and Type Method Description static Side
Side. calculateNormal(Point point)
boolean
MovableEntity. collidesWithWorld(Point pos, float colissionRadius)
check for horizontal colission (x and y)
O(1)boolean
MovableEntity. isOnCeil(Point pos)
Check if the top is coliding with a block.void
AbstractEntity. setPosition(Point pos)
keeps the referencevoid
Cursor. setPosition(Point pos)
void
PointLightSource. setPosition(Point pos)
AbstractEntity
AbstractEntity. spawn(Point point)
Add this entity to the map-> let it spawnAbstractEntity
Cursor. spawn(Point point)
AbstractEntity
Explosion. spawn(Point point)
explodesMovableEntity
MovableEntity. spawn(Point point)
AbstractEntity
ParticleEmitter. 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 Point
Point. add(float[] vector)
Add a vector to the positionPoint
Point. add(float x, float y, float z)
Add a vector to the positionPoint
Point. add(com.badlogic.gdx.math.Vector2 vector)
Add a vector to the positionPoint
Point. add(com.badlogic.gdx.math.Vector3 vector)
Add a vector to the positionPoint
Point. cpy()
avoid this method because it creates a new instance.Point
Map. getCenter()
Returns a coordinate pointing to the absolute center of the map.Point
Map. getCenter(float height)
Returns a coordinate pointing to middle of a 3x3 chunk map.Point
Coordinate. getPoint()
Point
Intersection. getPoint()
Point
Point. getPoint()
Point
Position. getPoint()
May not be copy safe.static Point
Point. getShared()
A shared object to pass values without using the heap.Point
Point. set(Point point)
overwrites the coordinates with values from another point.Point
Point. setFromCoord(Coordinate coord)
Set x,y,z based on a coordinate.Point
Point. setToCenterOfCell()
Relative to the current coordiante field set the offset.Point
Coordinate. toPoint()
Copy safe.Point
Point. toPoint()
Point
Position. 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 void
Intersection. calcNormal(Point p)
Calcualte the normal based of the position of the point.boolean
Point. canSee(Point p, float maxdistance)
float
Point. distanceTo(Point point)
float
Point. distanceToHorizontal(Point point)
checks only x and y.float
Point. distanceToHorizontalSquared(Point point)
checks only x and y.float
Point. distanceToSquared(Point point)
The result is squared for fast comparison.Chunk
Map. getChunkContaining(Point point)
boolean
Chunk. hasPoint(Point point)
Check if the coordinate has the coordinate inside.static Intersection
Intersection. 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.Point
Point. set(Point point)
overwrites the coordinates with values from another point.Coordinate
Coordinate. 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 Point
RenderCell. getPoint()
Methods in com.bombinggames.wurfelengine.core.map.rendering with parameters of type Point Modifier and Type Method Description RenderCell
RenderStorage. getCell(Point point)
If the block can not be found returns null pointer.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. -
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 void
TopologicalSort. 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 UserControlledShooter
UserControlledShooter. 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 Point
Weapon. getFixedPos()
Point
Weapon. 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 void
Weapon. setFixedPos(Point fixedPos)
The point where the weapon returns after shooting.MovableEntity
Bullet. spawn(Point point)
void
Laserdot. update(Point origin, com.badlogic.gdx.math.Vector3 aimDir)
-