Package | Description |
---|---|
asteroids.model |
Modifier and Type | Field and Description |
---|---|
Vector |
Entity.position |
Vector |
Entity.velocity |
Modifier and Type | Method and Description |
---|---|
Vector |
Vector.getDifference(Vector difference) |
Vector |
Entity.getPosition()
POSITION RELATED
|
Vector |
Entity.getVelocity()
Returning this entity's velocity
|
Modifier and Type | Method and Description |
---|---|
Vector |
Vector.getDifference(Vector difference) |
void |
Entity.setPosition(Vector positionXY)
Set the position of this entity to the given position.
|
void |
Entity.setVelocity(Vector velocity)
Set the velocity of this entity to the given velocity.
|