BattleZone
Class GLKnowAgents


public class GLKnowAgents


Field Summary
 private booleanalreadydraw
           
 (package private) final static StringBIG_DEATH
           
 private BattleZoneBZ
           
 private PluginGLCanvascanvas
           
 ProxyGLCubecube
           
 private intdrawCount
           
 private GLFuncgl
           
 (package private) final static StringKA_EXPLODE
           
 private booleankillall
           
 CollectionknowInfo
           
 private longleveluptimer
           
 intmaxHits
           
 private intmaxKAs
           
 (package private) booleanp1
           
 (package private) booleanp2
           
 (package private) booleanp3
           
 ProxyGLPyramidpyr
           
 private Randomrand
           
 protected floatrot
           
 protected floatrotSpeed
           
 ShapeListshapes
           
 private booleansuperdeath
           
 private inttotal
           
 (package private) final static StringURL_LOAD
           
 (package private) floatx1
           
 (package private) floatx2
           
 (package private) floatx3
           
 (package private) floatxr1
           
 (package private) floatxr2
           
 (package private) floatxr3
           
 (package private) floaty
           

Constructor Summary
GLKnowAgents(PluginGLCanvas Plugincanvas, BattleZone newBZ)
           

Method Summary
 voidcheckStatus()
           
 voiddraw()
           
 intgetCurrDrawn()
           
 private floatgetRandom(boolean signed, float begin, float end)
           
 voidKAexplode()
           
 voidlunch(boolean Urlview, String text)
           
 voidnumHits(boolean gotHit, MamId id)
           
 voidpart1()
           
 voidpart2()
           
 voidpart3()
           
 protected voidplayTraitedEventSound(String eventSoundName)
           
 voidremoveAgent(MamId id)
           
 voidremoveAll()
           
 private voidremoveKA(String url)
           
 voidseekerRemoveAgent(MamId id)
           
 private booleansetDraw()
           
 voidsetRotSpeed(float setRot)
           
 voidsetTotalAgents(int num, MamId id, String nurl)
           
 voidupdateKAS()
           

Field Detail

alreadydraw

private boolean alreadydraw

BIG_DEATH

final static String BIG_DEATH

BZ

private BattleZone BZ

canvas

private PluginGLCanvas canvas

cube

public ProxyGLCube cube

drawCount

private int drawCount

gl

private GLFunc gl

KA_EXPLODE

final static String KA_EXPLODE

killall

private boolean killall

knowInfo

public Collection knowInfo

leveluptimer

private long leveluptimer

maxHits

public int maxHits

maxKAs

private int maxKAs

p1

boolean p1

p2

boolean p2

p3

boolean p3

pyr

public ProxyGLPyramid pyr

rand

private Random rand

rot

protected float rot

rotSpeed

protected float rotSpeed

shapes

public ShapeList shapes

superdeath

private boolean superdeath

total

private int total

URL_LOAD

final static String URL_LOAD

x1

float x1

x2

float x2

x3

float x3

xr1

float xr1

xr2

float xr2

xr3

float xr3

y

float y
Constructor Detail

GLKnowAgents

public GLKnowAgents(PluginGLCanvas Plugincanvas, BattleZone newBZ)
Method Detail

checkStatus

public void checkStatus()

draw

public void draw()

getCurrDrawn

public int getCurrDrawn()

getRandom

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

KAexplode

public void KAexplode()

lunch

public void lunch(boolean Urlview, String text)

numHits

public void numHits(boolean gotHit, MamId id)

part1

public void part1()

part2

public void part2()

part3

public void part3()

playTraitedEventSound

protected void playTraitedEventSound(String eventSoundName)

removeAgent

public void removeAgent(MamId id)

removeAll

public void removeAll()

removeKA

private void removeKA(String url)

seekerRemoveAgent

public void seekerRemoveAgent(MamId id)

setDraw

private boolean setDraw()

setRotSpeed

public void setRotSpeed(float setRot)

setTotalAgents

public void setTotalAgents(int num, MamId id, String nurl)

updateKAS

public void updateKAS()