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


Constructor Index

 o Testbed()

Method Index

 o actionPerformed(ActionEvent)
 o destroy()
 o doBrowse()
 o doFight()
 o doOk()
 o init()
 o itemStateChanged(ItemEvent)
Called when the user clicks on 'Allow interactive'; changes the list of robots accordingly
 o run()
 o start()
 o stop()
 o updateLists()
 o windowActivated(WindowEvent)
 o windowClosed(WindowEvent)
 o windowClosing(WindowEvent)
 o windowDeactivated(WindowEvent)
 o windowDeiconified(WindowEvent)
 o windowIconified(WindowEvent)
 o windowOpened(WindowEvent)

Constructors

 o Testbed
 public Testbed()

Methods

 o start
 public void start()
Overrides:
start in class Applet
 o stop
 public void stop()
Overrides:
stop in class Applet
 o updateLists
 public void updateLists()
 o init
 public void init()
Overrides:
init in class Applet
 o doFight
 public void doFight()
 o doBrowse
 public void doBrowse()
 o doOk
 public void doOk()
 o itemStateChanged
 public void itemStateChanged(ItemEvent e)
Called when the user clicks on 'Allow interactive'; changes the list of robots accordingly

 o actionPerformed
 public void actionPerformed(ActionEvent e)
 o destroy
 public void destroy()
Overrides:
destroy in class Applet
 o run
 public void run()
 o windowClosing
 public void windowClosing(WindowEvent event)
 o windowOpened
 public void windowOpened(WindowEvent event)
 o windowIconified
 public void windowIconified(WindowEvent event)
 o windowDeiconified
 public void windowDeiconified(WindowEvent event)
 o windowClosed
 public void windowClosed(WindowEvent event)
 o windowActivated
 public void windowActivated(WindowEvent event)
 o windowDeactivated
 public void windowDeactivated(WindowEvent event)

All Packages  Class Hierarchy  This Package  Previous  Next  Index