mam.agent.pluginAgentRes
Class Drawer
- Direct Known Subclasses:
- Asteroids, BattleZone, CleanSweep
- public class Drawer
canvas
public PluginGLCanvas canvas
gl
public GLFunc gl
glu
public GLUFunc glu
height
public int height
m_listeners
private Collection m_listeners
width
public int width
Drawer
public Drawer()
addKnowAgent
public void addKnowAgent(int totalAgents, MamId mamid, String url)
addListener
public void addListener(PluginGLListener listener)
addMonitorAgent
public void addMonitorAgent(String url)
addSearch
public void addSearch(String requestor)
construct
public void construct(int w, int h, PluginGLCanvas cnvs)
display
public void display()
fireEvent
public void fireEvent(PluginGLEvent event)
init
public void init()
keyPressed
public void keyPressed(KeyEvent e)
- void keyPressed(KeyEvent e) Invoked when a key has been pressed.
keyReleased
public void keyReleased(KeyEvent e)
- void keyReleased(KeyEvent e) Invoked when a key has been released.
keyTyped
public void keyTyped(KeyEvent e)
- void keyTyped(KeyEvent e) Invoked when a key has been typed. This event occurs when a key press is followed by a key release.
monitorUpdate
public void monitorUpdate(String updatedurl)
mooDeath
public void mooDeath()
removeKnowAgent
public void removeKnowAgent(MamId mamid)
removeMonitorAgent
public void removeMonitorAgent(String url)
reshape
public void reshape(int width, int height)