flightclub.client
Class GliderUser
java.lang.Object
|
+--flightclub.client.Particle
|
+--flightclub.client.MovingBody
|
+--flightclub.client.Glider
|
+--flightclub.client.GliderUser
- All Implemented Interfaces:
- CameraSubject, ClockObserver, EventInterface
- public class GliderUser
- extends Glider
- implements EventInterface
This class implements a glider that is controlled by *the* user.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LEFT
public static final int LEFT
- See Also:
- Constant Field Values
RIGHT
public static final int RIGHT
- See Also:
- Constant Field Values
STRAIGHT
public static final int STRAIGHT
- See Also:
- Constant Field Values
GliderUser
public GliderUser(ModelViewer modelViewer,
GliderType gliderType)
destroyMe
public void destroyMe()
- Overrides:
destroyMe in class flightclub.client.MovingBody
createTail
protected void createTail()
- Override tail's factory method. Lets have a longer darker tail.
- Overrides:
createTail in class flightclub.client.Particle
keyPressed
public void keyPressed(java.awt.event.KeyEvent e)
- Specified by:
keyPressed in interface EventInterface
keyReleased
public void keyReleased(java.awt.event.KeyEvent e)
- Specified by:
keyReleased in interface EventInterface