BattleZone
Class BattleZone
mam.agent.pluginAgentRes.Drawer
|
+--BattleZone.BattleZone
- public class BattleZone
- extends Drawer
Method Summary |
float | abs(float num) |
void | addKnowAgent(int totalAgents, MamId mamid, String url) |
void | addMonitorAgent(String url) |
void | addSearch(String requestor) |
void | advSeeker() |
String | bulletBump() |
void | bumbBaya() |
void | checkBonus() |
void | checkBumpWithSeeker() |
void | checkKeys() |
void | checkScore() |
boolean | checkSeekerBumpWithKAS() |
void | construct(int w, int h, PluginGLCanvas cnvs) |
void | display() |
void | doUpdateSeeker() |
void | drawBase() |
void | drawCap() |
void | drawFace() |
void | drawMouth() |
void | drawSeeker() |
void | findPlayerSituation(float myPrevLocX, float myPrevLocZ, float objectX, float objectZ) |
void | findPlayerSituationWithLittleMA(float myPrevLocX, float myPrevLocZ, float littleMALocX, float littleMALocZ) |
void | findPlayerSituationWithMA(float myPrevLocX, float myPrevLocZ, float MALocX, float MALocZ) |
private float | getRandom(boolean signed, float begin, float end) |
float | getRSeeker(ProxyGLPoint start, ProxyGLPoint end) |
void | init() |
void | initSeeker() |
void | keyPressed(KeyEvent e) |
void | keyReleased(KeyEvent e) |
void | keyTyped(KeyEvent e) |
void | littleTank() |
boolean | LockTarget() |
void | monitorUpdate(String updatedurl) |
void | mooDeath() |
void | out(boolean temp, String str) |
protected void | playTraitedEventSound(String eventSoundName) |
void | preInit() void preInit() Called just BEFORE the GL-Context is created. |
void | removeKnowAgent(MamId mamid) |
void | removeMonitorAgent(String url) |
void | reshape(int width, int height) |
void | seekerReset() |
void | setUserView() |
void | shake() |
void | showFPS() |
void | unFreez() |
void | windowBreak() |
void | windowBreakInit() |
void | windowBreakPhase1() |
void | windowBreakPhase10() |
void | windowBreakPhase11() |
void | windowBreakPhase2() |
void | windowBreakPhase3() |
void | windowBreakPhase4() |
void | windowBreakPhase5() |
void | windowBreakPhase6() |
void | windowBreakPhase7() |
void | windowBreakPhase8() |
void | windowBreakPhase9() |
bigDeath
public boolean bigDeath
bonus1
public boolean bonus1
bonus2
public boolean bonus2
bullet
public ProxyGLBullet bullet
BUMP
final static String BUMP
buz
public boolean buz
buzDone
public boolean buzDone
camera
protected ProxyGLPoint camera
cameraBase
public float cameraBase
checkBullet
public boolean checkBullet
clk
int clk
clk2
int clk2
clkLimit
int clkLimit
color
public double color
doneMA1
public boolean doneMA1
down
boolean down
expColor
public String expColor
expEffect
public GLDebris expEffect
expLoc
public ProxyGLPoint expLoc
exps
public GLExplosion exps
freezDown
public boolean freezDown
freezLeft
public boolean freezLeft
freezRight
public boolean freezRight
freezUp
public boolean freezUp
frq
public float frq
gameOver
public boolean gameOver
gamePause
public boolean gamePause
glut
protected GLUTFunc glut
heatseekers
public GLHeatSeekGroup heatseekers
helpMenu
public boolean helpMenu
hitPause
boolean hitPause
initSeeker
public boolean initSeeker
KA_HIT
final static String KA_HIT
knowAgents
public GLKnowAgents knowAgents
last
protected long last
lastMoveOne
public String lastMoveOne
lastMoveTwo
public String lastMoveTwo
left
boolean left
lives
public int lives
m_listeners
private Collection m_listeners
masterFreez
public boolean masterFreez
menu
boolean menu
MONITOR_DEATH
final static String MONITOR_DEATH
MONITOR_HIT
final static String MONITOR_HIT
monitorAgents
public GLMonitorAgents monitorAgents
mooDeathC
int mooDeathC
motionBlocked
public boolean motionBlocked
mousex
private int mousex
mousey
private int mousey
newScore
int newScore
now
protected long now
nowInfo
GLKnowInfo nowInfo
oldScore
int oldScore
phase1
boolean phase1
phase2
boolean phase2
phase3
boolean phase3
previousCamera
public ProxyGLPoint previousCamera
printFps
protected int printFps
r
public float r
rand
private Random rand
right
boolean right
rSeeker
public float rSeeker
s
public float s
score
public int score
scoreChecked
boolean scoreChecked
scoreDif
int scoreDif
seeker
public GLHeatSeek seeker
seekerBase
public ProxyGLPoint seekerBase
seekerDisable
public boolean seekerDisable
seekerLoc
public ProxyGLPoint seekerLoc
seekerSpeed
public float seekerSpeed
sendSeeker
public boolean sendSeeker
SHIP_DEATH
final static String SHIP_DEATH
SHIP_FIRE
final static String SHIP_FIRE
SHIP_SEEKER
final static String SHIP_SEEKER
startTime
public long startTime
starttime
public long starttime
stopMovingAhead
public boolean stopMovingAhead
stopMovingBack
public boolean stopMovingBack
TANK_BONUS
final static String TANK_BONUS
tankBonus
int tankBonus
temp
public ProxyGLPoint temp
tempSeekerX
float tempSeekerX
tempSeekerZ
float tempSeekerZ
text
String text
thereIsExp
boolean thereIsExp
thereIsSeekerExp
public boolean thereIsSeekerExp
tSeeker
public float tSeeker
up
boolean up
updateSeeker
public boolean updateSeeker
view
boolean view
wBC1
int wBC1
wBC10
int wBC10
wBC11
int wBC11
wBC12
int wBC12
wBC2
int wBC2
wBC3
int wBC3
wBC4
int wBC4
wBC5
int wBC5
wBC6
int wBC6
wBC7
int wBC7
wBC8
int wBC8
wBC9
int wBC9
wBinit
boolean wBinit
wBP1
boolean wBP1
wBP10
boolean wBP10
wBP11
boolean wBP11
wBP2
boolean wBP2
wBP3
boolean wBP3
wBP4
boolean wBP4
wBP5
boolean wBP5
wBP6
boolean wBP6
wBP7
boolean wBP7
wBP8
boolean wBP8
wBP9
boolean wBP9
world
Environment world
youCanUnPause
boolean youCanUnPause
BattleZone
public BattleZone()
abs
public float abs(float num)
addKnowAgent
public void addKnowAgent(int totalAgents, MamId mamid, String url)
addMonitorAgent
public void addMonitorAgent(String url)
addSearch
public void addSearch(String requestor)
advSeeker
public void advSeeker()
bulletBump
public String bulletBump()
bumbBaya
public void bumbBaya()
checkBonus
public void checkBonus()
checkBumpWithSeeker
public void checkBumpWithSeeker()
checkKeys
public void checkKeys()
checkScore
public void checkScore()
checkSeekerBumpWithKAS
public boolean checkSeekerBumpWithKAS()
construct
public void construct(int w, int h, PluginGLCanvas cnvs)
display
public void display()
doUpdateSeeker
public void doUpdateSeeker()
drawBase
public void drawBase()
drawCap
public void drawCap()
drawFace
public void drawFace()
drawMouth
public void drawMouth()
drawSeeker
public void drawSeeker()
findPlayerSituation
public void findPlayerSituation(float myPrevLocX, float myPrevLocZ, float objectX, float objectZ)
findPlayerSituationWithLittleMA
public void findPlayerSituationWithLittleMA(float myPrevLocX, float myPrevLocZ, float littleMALocX, float littleMALocZ)
findPlayerSituationWithMA
public void findPlayerSituationWithMA(float myPrevLocX, float myPrevLocZ, float MALocX, float MALocZ)
getRandom
private float getRandom(boolean signed, float begin, float end)
getRSeeker
public float getRSeeker(ProxyGLPoint start, ProxyGLPoint end)
init
public void init()
initSeeker
public void initSeeker()
keyPressed
public void keyPressed(KeyEvent e)
keyReleased
public void keyReleased(KeyEvent e)
keyTyped
public void keyTyped(KeyEvent e)
littleTank
public void littleTank()
LockTarget
public boolean LockTarget()
monitorUpdate
public void monitorUpdate(String updatedurl)
mooDeath
public void mooDeath()
out
public void out(boolean temp, String str)
playTraitedEventSound
protected void playTraitedEventSound(String eventSoundName)
preInit
public void preInit()
- void preInit() Called just BEFORE the GL-Context is created.
removeKnowAgent
public void removeKnowAgent(MamId mamid)
removeMonitorAgent
public void removeMonitorAgent(String url)
reshape
public void reshape(int width, int height)
seekerReset
public void seekerReset()
setUserView
public void setUserView()
shake
public void shake()
showFPS
public void showFPS()
unFreez
public void unFreez()
windowBreak
public void windowBreak()
windowBreakInit
public void windowBreakInit()
windowBreakPhase1
public void windowBreakPhase1()
windowBreakPhase10
public void windowBreakPhase10()
windowBreakPhase11
public void windowBreakPhase11()
windowBreakPhase2
public void windowBreakPhase2()
windowBreakPhase3
public void windowBreakPhase3()
windowBreakPhase4
public void windowBreakPhase4()
windowBreakPhase5
public void windowBreakPhase5()
windowBreakPhase6
public void windowBreakPhase6()
windowBreakPhase7
public void windowBreakPhase7()
windowBreakPhase8
public void windowBreakPhase8()
windowBreakPhase9
public void windowBreakPhase9()