CleanSweep
Class GLIPShip


public class GLIPShip


Inner Class Summary
 public classGLIPShip.Bullet
           

Field Summary
 private PluginGLCanvascanvas
           
 ProxyGLPointcoords
           
 private floatdeltaRot
           
 booleandie
           
 doubledx
           
 doubledy
           
 GLExplosionexplode
           
 private GLFuncgl
           
 intlives
           
 private Randomrand
           
 private floatrot
           
 private booleanrotFlag
           
 booleanshield
           
 ProxyGLShipship
           
 Bullet[]shipBullet
           
 longstarttime
           
 private intthrustFlag
           
 (package private) final static StringWARP
           
 private booleanwarpmode
           
 private longwarptime
           
 floatxbounds
           
 floatybounds
           

Constructor Summary
GLIPShip(PluginGLCanvas Plugincanvas)
           

Method Summary
 voiddeath()
           
 voiddraw()
           
 voidfireBullet(boolean view)
           
 private floatgetRandom(boolean signed, float begin, float end)
           
 floatgetRotation()
           
 protected voidplayTraitedEventSound(String eventSoundName)
           
 voidsetCoords(float x, float y, float z)
           
 voidsetRotation(float rotate)
           
 voidsetYvelocity()
           
 voidwarp()
           

Field Detail

canvas

private PluginGLCanvas canvas

coords

public ProxyGLPoint coords

deltaRot

private float deltaRot

die

public boolean die

dx

public double dx

dy

public double dy

explode

public GLExplosion explode

gl

private GLFunc gl

lives

public int lives

rand

private Random rand

rot

private float rot

rotFlag

private boolean rotFlag

shield

public boolean shield

ship

public ProxyGLShip ship

shipBullet

public Bullet[] shipBullet

starttime

public long starttime

thrustFlag

private int thrustFlag

WARP

final static String WARP

warpmode

private boolean warpmode

warptime

private long warptime

xbounds

public float xbounds

ybounds

public float ybounds
Constructor Detail

GLIPShip

public GLIPShip(PluginGLCanvas Plugincanvas)
Method Detail

death

public void death()

draw

public void draw()

fireBullet

public void fireBullet(boolean view)

getRandom

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

getRotation

public float getRotation()

playTraitedEventSound

protected void playTraitedEventSound(String eventSoundName)

setCoords

public void setCoords(float x, float y, float z)

setRotation

public void setRotation(float rotate)

setYvelocity

public void setYvelocity()

warp

public void warp()