public class Projectile extends GameObject
Modifier and Type | Field and Description |
---|---|
int |
energy
The remaining health of the projectile.
|
int |
fuel
The amount of remaining distance the projectile can move.
|
Player |
owner
The Player that owns and can control this Projectile.
|
Unit |
target
The unit that is being attacked by this projectile.
|
double |
x
The x value this projectile is on.
|
double |
y
The y value this projectile is on.
|
logs
log
public int energy
public int fuel
public Player owner
public Unit target
public double x
public double y
© 2020 MST ACM SIG-GAME