com.croftsoft.apps.mars.controller
Class TankController
java.lang.Object
com.croftsoft.core.gui.event.UserInputAdapter
com.croftsoft.apps.mars.controller.TankController
- All Implemented Interfaces:
- UserInputListener, ActionListener, KeyListener, MouseListener, MouseMotionListener, WindowListener, EventListener, ChangeListener, MouseInputListener
public final class TankController
- extends UserInputAdapter
Handles user inputs to control the player tank.
- Since:
- 2003-03-20
- Version:
- 2003-04-17
- Author:
- David Wallace Croft
Methods inherited from class com.croftsoft.core.gui.event.UserInputAdapter |
actionPerformed, keyReleased, keyTyped, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseReleased, stateChanged, windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowIconified, windowOpened |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TankController
public TankController(TankOperator tankOperator,
Component component)
keyPressed
public void keyPressed(KeyEvent keyEvent)
- Specified by:
keyPressed
in interface KeyListener
- Overrides:
keyPressed
in class UserInputAdapter
mouseMoved
public void mouseMoved(MouseEvent mouseEvent)
- Specified by:
mouseMoved
in interface MouseMotionListener
- Overrides:
mouseMoved
in class UserInputAdapter
mousePressed
public void mousePressed(MouseEvent mouseEvent)
- Specified by:
mousePressed
in interface MouseListener
- Overrides:
mousePressed
in class UserInputAdapter
CroftSoft Apps Javadoc (2008-09-28 21:15:07)