Asteroids
Class ProxyGLShip

Asteroids.ProxyGLShape
  |
  +--Asteroids.ProxyGLShip

public class ProxyGLShip
extends ProxyGLShape


Field Summary
 private PluginGLCanvascanvas
           
 private GLFuncgl
           
 private Randomrand
           
 private booleanthrust
           
 private booleanthrustFlip
           
 private booleanthrustLong
           

Fields inherited from class Asteroids.ProxyGLShape
drawMode, mainColor

Constructor Summary
ProxyGLShip(PluginGLCanvas Plugincanvas)
           

Method Summary
 voiddraw()
           
 private floatgetRandom(boolean signed, float begin, float end)
           
 voidthrustOn()
           

Methods inherited from class Asteroids.ProxyGLShape
computeNormal, setDrawMode, setMainColor, setMainColor

Field Detail

canvas

private PluginGLCanvas canvas

gl

private GLFunc gl

rand

private Random rand

thrust

private boolean thrust

thrustFlip

private boolean thrustFlip

thrustLong

private boolean thrustLong
Constructor Detail

ProxyGLShip

public ProxyGLShip(PluginGLCanvas Plugincanvas)
Method Detail

draw

public void draw()

getRandom

private float getRandom(boolean signed, float begin, float end)

thrustOn

public void thrustOn()