com.jpemartin.jgt
Class MoveKeyboardAccel

java.lang.Object
  extended by 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

Constructor Summary
MoveKeyboardAccel(KeyboardStatus k, int minX, int minY, int maxX, int maxY)
           
 
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
 

Constructor Detail

MoveKeyboardAccel

public MoveKeyboardAccel(KeyboardStatus k,
                         int minX,
                         int minY,
                         int maxX,
                         int maxY)
Method Detail

move

public void move(java.awt.Rectangle me)
Description copied from interface: MoveControl
move "moved" by one step

Specified by:
move in interface MoveControl