com.jpemartin.jgt
Class MoveTail

java.lang.Object
  extended by com.jpemartin.jgt.MoveTail
All Implemented Interfaces:
MoveControl

public class MoveTail
extends java.lang.Object
implements MoveControl

The object will follow ("tail") another object with a given time delay.

Author:
jpmartin

Constructor Summary
MoveTail(java.awt.Rectangle trailed, int delay)
           
 
Method Summary
 void move(java.awt.Rectangle moved)
          move "moved" by one step
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MoveTail

public MoveTail(java.awt.Rectangle trailed,
                int delay)
Method Detail

move

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

Specified by:
move in interface MoveControl