projekt  
  einleitung
  applet
  quellcode
über  
  info
  team
quellcode
 
JAVADOC
SOURCECODE
public class Craft extends Mass
{
  // heading and where to go
  double heading=0;
  // time for one rotation
  double yawT=0;
  double yawDegree;  // yawT -update()-> yawDegree
  boolean yawL = false;
  boolean yawR = false;
  // forward-thrust and if enabled
  double f=0;
  double a=0;
  boolean boost = false;
  // backward-thrust and if enabled
  double rf=0;
  double ra=0;
  boolean retro = false;

  public void update(double deltaT)
  {
    a=f/m;
    ra=rf/m;
    yawDegree= deltaT*4*Math.PI/yawT;
  }
}