BattleZone
Class GLMonitorAgents


public class GLMonitorAgents


Field Summary
 floataround
           
 private BattleZoneBZ
           
 PluginGLCanvascanvas
           
 ProxyGLPointcolor
           
 ProxyGLPointcoordinate
           
 private ProxyGLPoint[]coords
           
 ProxyGLCubecube
           
 booleandie
           
 floatdx
           
 floatdy
           
 floatfade
           
 private GLFuncgl
           
 booleanhit
           
 inthits
           
 Collectioninfos
           
 protected floatinplaceRot
           
 protected floatinplaceRotSpeed
           
 (package private) final static StringKA_EXPLODE
           
 ProxyGLPointlittleMAcolor
           
 booleanlittleMAHit
           
 intlittleMAHits
           
 ProxyGLPointlittleMALoc
           
 StringlittleMAUrl
           
 intmaxHits
           
 intmaxKA
           
 (package private) final static StringMONITOR_DEATH
           
 (package private) final static StringMONITOR_HIT
           
 ProxyGLMonitorShipmonitorShip
           
 booleanmoveL
           
 booleanmoveR
           
 floatog
           
 ProxyGLPyramidpyr
           
 private Randomrand
           
 booleanreallydead
           
 protected floatrot
           
 floatrotatLittleMA
           
 protected floatrotSpeed
           
 protected longstarttime
           
 booleanstopADV
           
 inttotal
           

Constructor Summary
GLMonitorAgents(PluginGLCanvas Plugincanvas, BattleZone newBZ)
           

Method Summary
 voidadvance()
           
 StringdetectCollision(ProxyGLPoint bullet, double dx, double dy)
           
 voiddraw()
           
 private floatgetRandom(boolean signed, float begin, float end)
           
 voidLittleMAnumHits()
           
 voidnumHits(boolean gotHit)
           
 protected voidplayTraitedEventSound(String eventSoundName)
           
 voidremoveAgents(String url)
           
 voidresetMonitor()
           
 voidsetExplode(int num)
           
 voidsetRotSpeed(float setRot)
           
 voidsetTotalAgents(String url)
           

Field Detail

around

public float around

BZ

private BattleZone BZ

canvas

public PluginGLCanvas canvas

color

public ProxyGLPoint color

coordinate

public ProxyGLPoint coordinate

coords

private ProxyGLPoint[] coords

cube

public ProxyGLCube cube

die

public boolean die

dx

public float dx

dy

public float dy

fade

public float fade

gl

private GLFunc gl

hit

public boolean hit

hits

public int hits

infos

public Collection infos

inplaceRot

protected float inplaceRot

inplaceRotSpeed

protected float inplaceRotSpeed

KA_EXPLODE

final static String KA_EXPLODE

littleMAcolor

public ProxyGLPoint littleMAcolor

littleMAHit

public boolean littleMAHit

littleMAHits

public int littleMAHits

littleMALoc

public ProxyGLPoint littleMALoc

littleMAUrl

public String littleMAUrl

maxHits

public int maxHits

maxKA

public int maxKA

MONITOR_DEATH

final static String MONITOR_DEATH

MONITOR_HIT

final static String MONITOR_HIT

monitorShip

public ProxyGLMonitorShip monitorShip

moveL

public boolean moveL

moveR

public boolean moveR

og

public float og

pyr

public ProxyGLPyramid pyr

rand

private Random rand

reallydead

public boolean reallydead

rot

protected float rot

rotatLittleMA

public float rotatLittleMA

rotSpeed

protected float rotSpeed

starttime

protected long starttime

stopADV

public boolean stopADV

total

public int total
Constructor Detail

GLMonitorAgents

public GLMonitorAgents(PluginGLCanvas Plugincanvas, BattleZone newBZ)
Method Detail

advance

public void advance()

detectCollision

public String detectCollision(ProxyGLPoint bullet, double dx, double dy)

draw

public void draw()

getRandom

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

LittleMAnumHits

public void LittleMAnumHits()

numHits

public void numHits(boolean gotHit)

playTraitedEventSound

protected void playTraitedEventSound(String eventSoundName)

removeAgents

public void removeAgents(String url)

resetMonitor

public void resetMonitor()

setExplode

public void setExplode(int num)

setRotSpeed

public void setRotSpeed(float setRot)

setTotalAgents

public void setTotalAgents(String url)