com.jpemartin.jgt
Class MoveKeyboardAccel
java.lang.Object
com.jpemartin.jgt.MoveKeyboardAccel
- All Implemented Interfaces:
- MoveControl
public class MoveKeyboardAccel
- extends java.lang.Object
- implements MoveControl
Moves in the direction of the arrow you push;
if you hold it down you'll move faster
if you touch nothing, you slow to a stop,
- Author:
- jpmartin
|
Method Summary |
void |
move(java.awt.Rectangle me)
move "moved" by one step |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MoveKeyboardAccel
public MoveKeyboardAccel(KeyboardStatus k,
int minX,
int minY,
int maxX,
int maxY)
move
public void move(java.awt.Rectangle me)
- Description copied from interface:
MoveControl
- move "moved" by one step
- Specified by:
move in interface MoveControl