moagg.model
Class ControllableImpl
java.lang.Object
moagg.model.ControllableImpl
- All Implemented Interfaces:
- java.io.Serializable, Controllable
public class ControllableImpl
- extends java.lang.Object
- implements Controllable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ControllableImpl
public ControllableImpl()
getAngle
public double getAngle()
- Specified by:
getAngle
in interface Controllable
setAngle
public void setAngle(double angle)
- Specified by:
setAngle
in interface Controllable
isThrust
public boolean isThrust()
- Specified by:
isThrust
in interface Controllable
setThrust
public void setThrust(boolean thrust)
- Specified by:
setThrust
in interface Controllable
getThrustForce
public double getThrustForce()
- Specified by:
getThrustForce
in interface Controllable
setThrustForce
public void setThrustForce(double thrustForce)
- Specified by:
setThrustForce
in interface Controllable
getMass
public long getMass()
- Specified by:
getMass
in interface Controllable
setMass
public void setMass(long mass)
- Specified by:
setMass
in interface Controllable
getFuelCapacity
public long getFuelCapacity()
- Specified by:
getFuelCapacity
in interface Controllable
setFuelCapacity
public void setFuelCapacity(long fuelCapacity)
- Specified by:
setFuelCapacity
in interface Controllable
getFuel
public long getFuel()
- Specified by:
getFuel
in interface Controllable
setFuel
public void setFuel(long fuel)
- Specified by:
setFuel
in interface Controllable
getFuelPerMilliSecond
public long getFuelPerMilliSecond()
- Specified by:
getFuelPerMilliSecond
in interface Controllable
setFuelPerMilliSecond
public void setFuelPerMilliSecond(long fuelPerMilliSecond)
- Specified by:
setFuelPerMilliSecond
in interface Controllable
getRotation
public Rotation getRotation()
- Specified by:
getRotation
in interface Controllable
setRotation
public void setRotation(Rotation rotation)
- Specified by:
setRotation
in interface Controllable
getRotationSpeed
public double getRotationSpeed()
- Specified by:
getRotationSpeed
in interface Controllable
setRotationSpeed
public void setRotationSpeed(double rotationSpeed)
- Specified by:
setRotationSpeed
in interface Controllable
Copyright © 2008. All Rights Reserved.