moagg.model
Class ControllableImpl

java.lang.Object
  extended by moagg.model.ControllableImpl
All Implemented Interfaces:
java.io.Serializable, Controllable

public class ControllableImpl
extends java.lang.Object
implements Controllable

See Also:
Serialized Form

Constructor Summary
ControllableImpl()
           
 
Method Summary
 double getAngle()
           
 long getFuel()
           
 long getFuelCapacity()
           
 long getFuelPerMilliSecond()
           
 long getMass()
           
 Rotation getRotation()
           
 double getRotationSpeed()
           
 double getThrustForce()
           
 boolean isThrust()
           
 void setAngle(double angle)
           
 void setFuel(long fuel)
           
 void setFuelCapacity(long fuelCapacity)
           
 void setFuelPerMilliSecond(long fuelPerMilliSecond)
           
 void setMass(long mass)
           
 void setRotation(Rotation rotation)
           
 void setRotationSpeed(double rotationSpeed)
           
 void setThrust(boolean thrust)
           
 void setThrustForce(double thrustForce)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ControllableImpl

public ControllableImpl()
Method Detail

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.