All Packages Class Hierarchy This Package Previous Next Index
Class ch.jp.robwar.Testbed
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----java.applet.Applet
|
+----ch.jp.robwar.Testbed
- public class Testbed
- extends Applet
- implements Runnable, WindowListener, ActionListener, ItemListener
This is the main entry point to War Or the Robots.
Its behavior can be changed with the following PARAM tag:
browser-compatibility-mode
yes: Causes the InfoDisplays to be
stretched (circumvents the NS bug).
History (m/d/y):
6.13.99 Beta 1.3, with asynchronous robotBrains.
(internship & GRE in between)
12.13.98 moved most angle functions to radians,
added Helper class and documentation txt files
11.09.98 added rockets & remote
10.26.98 added sound
(finals in between ;)
09.07.98 Beta 1.1
08.25.98 Beta 1
08.16.98 Start
-
Testbed()
-
-
actionPerformed(ActionEvent)
-
-
destroy()
-
-
doBrowse()
-
-
doFight()
-
-
doOk()
-
-
init()
-
-
itemStateChanged(ItemEvent)
- Called when the user clicks on 'Allow interactive';
changes the list of robots accordingly
-
run()
-
-
start()
-
-
stop()
-
-
updateLists()
-
-
windowActivated(WindowEvent)
-
-
windowClosed(WindowEvent)
-
-
windowClosing(WindowEvent)
-
-
windowDeactivated(WindowEvent)
-
-
windowDeiconified(WindowEvent)
-
-
windowIconified(WindowEvent)
-
-
windowOpened(WindowEvent)
-
Testbed
public Testbed()
start
public void start()
- Overrides:
- start in class Applet
stop
public void stop()
- Overrides:
- stop in class Applet
updateLists
public void updateLists()
init
public void init()
- Overrides:
- init in class Applet
doFight
public void doFight()
doBrowse
public void doBrowse()
doOk
public void doOk()
itemStateChanged
public void itemStateChanged(ItemEvent e)
- Called when the user clicks on 'Allow interactive';
changes the list of robots accordingly
actionPerformed
public void actionPerformed(ActionEvent e)
destroy
public void destroy()
- Overrides:
- destroy in class Applet
run
public void run()
windowClosing
public void windowClosing(WindowEvent event)
windowOpened
public void windowOpened(WindowEvent event)
windowIconified
public void windowIconified(WindowEvent event)
windowDeiconified
public void windowDeiconified(WindowEvent event)
windowClosed
public void windowClosed(WindowEvent event)
windowActivated
public void windowActivated(WindowEvent event)
windowDeactivated
public void windowDeactivated(WindowEvent event)
All Packages Class Hierarchy This Package Previous Next Index