Asteroids
Class GLMonitorAgents
- public class GLMonitorAgents
canvas
private PluginGLCanvas canvas
color
public float 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
explosions
public GLExplosions explosions
gl
private GLFunc gl
hit
public boolean hit
hits
public int hits
infos
public Collection infos
inplaceRot
protected float inplaceRot
inplaceRotSpeed
protected float inplaceRotSpeed
MONITOR_DEATH
final static String MONITOR_DEATH
MONITOR_HIT
final static String MONITOR_HIT
og
public float og
rand
private Random rand
reallydead
public boolean reallydead
rot
protected float rot
rotSpeed
protected float rotSpeed
starttime
protected long starttime
total
private int total
GLMonitorAgents
public GLMonitorAgents(PluginGLCanvas Plugincanvas, Asteroids prnt)
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)
playTraitedEventSound
protected void playTraitedEventSound(String eventSoundName)
randomizeLocale
public void randomizeLocale()
removeAgents
public void removeAgents(String url)
setExplode
public void setExplode(int num)
setRotSpeed
public void setRotSpeed(float setRot)
setTotalAgents
public void setTotalAgents(String url)