Asteroids
Class GLHeatSeek


public class GLHeatSeek


Field Summary
 private PluginGLCanvascanvas
           
 floatcolor
           
 ProxyGLPointcoords
           
 ProxyGLCubecube
           
 booleandie
           
 floatdx
           
 floatdy
           
 GLExplosionexplode
           
 private GLFuncgl
           
 booleanhit
           
 inthits
           
 booleankillme
           
 longpulsetime
           
 protected floatrot
           
 protected floatrotSpeed
           
 longstarttime
           
 Stringtext
           

Constructor Summary
GLHeatSeek(PluginGLCanvas Plugincanvas, String txt)
           

Method Summary
 private voidadvance()
           
 voiddraw()
           
 voidresetExplode()
           
 voidsetCoords(float x, float y)
           
 voidsetDirection(float deltax, float deltay)
           
 voidsetHeat(float x, float y)
           
 voidsetRotSpeed(float setRot)
           

Field Detail

canvas

private PluginGLCanvas canvas

color

public float color

coords

public ProxyGLPoint coords

cube

public ProxyGLCube cube

die

public boolean die

dx

public float dx

dy

public float dy

explode

public GLExplosion explode

gl

private GLFunc gl

hit

public boolean hit

hits

public int hits

killme

public boolean killme

pulsetime

public long pulsetime

rot

protected float rot

rotSpeed

protected float rotSpeed

starttime

public long starttime

text

public String text
Constructor Detail

GLHeatSeek

public GLHeatSeek(PluginGLCanvas Plugincanvas, String txt)
Method Detail

advance

private void advance()

draw

public void draw()

resetExplode

public void resetExplode()

setCoords

public void setCoords(float x, float y)

setDirection

public void setDirection(float deltax, float deltay)

setHeat

public void setHeat(float x, float y)

setRotSpeed

public void setRotSpeed(float setRot)