moagg.model.object
Interface ControllableObject
- All Superinterfaces:
- MoaggGameObject
- All Known Implementing Classes:
- GhostShip, Missile, Ship
public interface ControllableObject
- extends MoaggGameObject
Game objects that can be controlled by rotating and thrusting
have to implement this interface.
Methods inherited from interface moagg.model.object.MoaggGameObject |
getHeight, getID, getPositionRectangle, getSpeed, getWidth, getX, getY, hide, isVisible, setID, setSpeed, setSpeed, setX, setY, show |
getAngle
double getAngle()
setAngle
void setAngle(double angle)
isThrust
boolean isThrust()
setThrust
void setThrust(boolean thrust)
getThrustForce
double getThrustForce()
setThrustForce
void setThrustForce(double thrustForce)
getMass
long getMass()
setMass
void setMass(long mass)
getFuelCapacity
long getFuelCapacity()
setFuelCapacity
void setFuelCapacity(long fuelCapacity)
getFuel
long getFuel()
setFuel
void setFuel(long fuel)
getFuelPerMilliSecond
long getFuelPerMilliSecond()
setFuelPerMilliSecond
void setFuelPerMilliSecond(long fuelPerMilliSecond)
getRotation
Rotation getRotation()
setRotation
void setRotation(Rotation rotation)
isAligned
boolean isAligned()
getRotationSpeed
double getRotationSpeed()
setRotationSpeed
void setRotationSpeed(double rotationSpeed)
Copyright © 2008. All Rights Reserved.