Flight Club


flightclub.client
Class GliderAI

java.lang.Object
  |
  +--flightclub.client.Particle
        |
        +--flightclub.client.MovingBody
              |
              +--flightclub.client.Glider
                    |
                    +--flightclub.client.GliderAI
All Implemented Interfaces:
CameraSubject, ClockObserver

public class GliderAI
extends Glider

This class implements an AI glider (ie. the glider thinks for itself, well not really, but). The glider will sniff out lift, climb to base then fly downwind in search of more lift. TODO: write more algorithms for eg. racing around turn points.


Field Summary
 
Fields inherited from class flightclub.client.Glider
modelViewer
 
Constructor Summary
GliderAI(ModelViewer modelViewer, GliderType gliderType)
           
 
Methods inherited from class flightclub.client.Glider
createTail, destroyMe, getEye, getFocus, goFaster, goSlower, setGround, setTurn, takeOff, tick
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GliderAI

public GliderAI(ModelViewer modelViewer,
                GliderType gliderType)

Dan Burton <danb@dircon.co.uk> | latest update: 20 Sep 2002;