simulation_InteractiveVersion
Class ControllerV3
java.lang.Object
simulation_InteractiveVersion.ControllerV3
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.awt.event.KeyListener, java.util.EventListener
public class ControllerV3
- extends java.lang.Object
- implements java.awt.event.ActionListener, java.awt.event.KeyListener
This class encapsulates an listener that implements behaviours in response to
action events. This class implements an ActionListener.
This class encapsulates an listener that implements behaviours in response to
user input events. This class implements an KeyListener.
- Author:
- mb
Field Summary |
static java.util.logging.Logger |
logger
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
public static java.util.logging.Logger logger
ControllerV3
public ControllerV3(GameCanvas gameCanvas,
GameWorldModel gameWorld)
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent ae)
- Specified by:
actionPerformed
in interface java.awt.event.ActionListener
keyPressed
public void keyPressed(java.awt.event.KeyEvent arg0)
- Specified by:
keyPressed
in interface java.awt.event.KeyListener
keyReleased
public void keyReleased(java.awt.event.KeyEvent arg0)
- Specified by:
keyReleased
in interface java.awt.event.KeyListener
keyTyped
public void keyTyped(java.awt.event.KeyEvent arg0)
- Specified by:
keyTyped
in interface java.awt.event.KeyListener