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.shooting |
Modifier and Type | Method and Description |
---|---|
Point |
Camera.getCenter()
Returns the focuspoint
|
Point |
GameView.screenToGameBasic(int x,
int y)
Returns deepest layer.
|
Constructor and Description |
---|
Camera(Point center,
int x,
int y,
int width,
int height,
GameView view)
Create a camera focusin a specific coordinate.
|
Modifier and Type | Method and Description |
---|---|
Point |
AbstractEntity.getPosition() |
Modifier and Type | Method and Description |
---|---|
AbstractEntity |
AbstractEntity.spawn(Point point)
add this entity to the map-> let it spawn
|
AbstractEntity |
Explosion.spawn(Point point)
explodes
|
AbstractEntity |
Selection.spawn(Point point) |
Modifier and Type | Method and Description |
---|---|
Point |
Point.addVector(float[] vector)
Add a vector to the position
|
Point |
Point.addVector(float x,
float y,
float z) |
Point |
Point.addVector(com.badlogic.gdx.math.Vector2 vector)
Add a vector to the position
|
Point |
Point.addVector(com.badlogic.gdx.math.Vector3 vector)
Add a vector to the position
|
Point |
Point.cpy() |
Point |
AbstractMap.getCenter()
Returns a coordinate pointing to the absolute center of the map.
|
Point |
AbstractMap.getCenter(float height)
Returns a coordinate pointing to middle of a 3x3 chunk map.
|
abstract Point |
AbstractPosition.getPoint()
If needed calculates it and creates new instance else return itself.
|
Point |
Coordinate.getPoint() |
Point |
Intersection.getPoint() |
Point |
Point.getPoint()
Returns itself.
|
Modifier and Type | Method and Description |
---|---|
float |
Point.distanceTo(Point point) |
float |
Point.distanceToHorizontal(Point point)
checks only x and y.
|
boolean |
Chunk.hasPoint(Point point)
Check if the coordinate has the coordinate inside.
|
Constructor and Description |
---|
Intersection(Point point,
com.badlogic.gdx.math.Vector3 normal,
float distance) |
Point(Point point)
Copy-constructor.
|
Modifier and Type | Method and Description |
---|---|
Point |
Weapon.getImpactPoint()
returns the position of the laserdot, the point where the aiming impacts
|