public class EntityPosition
extends java.lang.Object
Constructor and Description |
---|
EntityPosition() |
EntityPosition(double positionX,
double positionY,
double angle,
boolean direction) |
Modifier and Type | Method and Description |
---|---|
double |
getAngle() |
boolean |
getDirection() |
double |
getX() |
double |
getY() |
void |
setAngle(double angle) |
void |
setDirection(boolean direction) |
void |
setX(double x) |
void |
setY(double y) |
public EntityPosition(double positionX, double positionY, double angle, boolean direction)
positionX
- positionY
- angle
- rotation angledirection
- icon is not reflectedpublic EntityPosition()
public void setX(double x)
public double getX()
public void setY(double y)
public double getY()
public void setAngle(double angle)
public double getAngle()
public void setDirection(boolean direction)
public boolean getDirection()