BattleZone
Class GLHeatSeek


public class GLHeatSeek


Field Summary
 booleanalive
           
 private BattleZoneBZ
           
 private PluginGLCanvascanvas
           
 floatcolor
           
 ProxyGLPointcoords
           
 ProxyGLCubecube
           
 booleandie
           
 floatdx
           
 floatdy
           
 private GLFuncgl
           
 booleanhit
           
 inthits
           
 booleankillme
           
 (package private) booleanp1
           
 (package private) booleanp2
           
 (package private) booleanp3
           
 (package private) booleanp4
           
 longpulsetime
           
 protected floatrot
           
 protected floatrotSpeed
           
 longstarttime
           
 Stringtext
           
 (package private) floatx1
           
 (package private) floatx2
           
 (package private) floatx3
           
 (package private) floatx4
           
 (package private) floatxr1
           
 (package private) floatxr2
           
 (package private) floatxr3
           
 (package private) floatxr4
           
 (package private) floaty
           

Constructor Summary
GLHeatSeek(PluginGLCanvas Plugincanvas, String txt, BattleZone newBZ)
           

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

Field Detail

alive

public boolean alive

BZ

private BattleZone BZ

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

gl

private GLFunc gl

hit

public boolean hit

hits

public int hits

killme

public boolean killme

p1

boolean p1

p2

boolean p2

p3

boolean p3

p4

boolean p4

pulsetime

public long pulsetime

rot

protected float rot

rotSpeed

protected float rotSpeed

starttime

public long starttime

text

public String text

x1

float x1

x2

float x2

x3

float x3

x4

float x4

xr1

float xr1

xr2

float xr2

xr3

float xr3

xr4

float xr4

y

float y
Constructor Detail

GLHeatSeek

public GLHeatSeek(PluginGLCanvas Plugincanvas, String txt, BattleZone newBZ)
Method Detail

advance

private void advance()

checkStatus

public void checkStatus()

draw

public void draw()

resetExplode

public void resetExplode()

resetKAExplode

public void resetKAExplode()

seekerExplode

public void seekerExplode()

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)