Physics
Class MotionTimer
java.lang.Object
NGP.Timer
Physics.MotionTimer
- All Implemented Interfaces:
- ActionListener, EventListener
public class MotionTimer
- extends Timer
MotionTimer.java
Created: Sat Sep 18 19:48:45 2004
- Version:
- An extension of Timer tat interacts with an
IMotion
- Author:
Constructor Summary |
MotionTimer(int delay,
IMotion im)
Creates a new MotionTimer instance. |
Method Summary |
void |
activate()
Calls the motions TimerReact whenever the set time has expired |
MotionTimer
public MotionTimer(int delay,
IMotion im)
- Creates a new
MotionTimer
instance.
- Parameters:
delay
- an int
valueim
- an IMotion
value
activate
public void activate()
- Calls the motions TimerReact whenever the set time has expired
- Specified by:
activate
in class Timer