Class Ship.Fire

java.lang.Object
  |
  +--java.util.TimerTask
        |
        +--Ship.Fire
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
Ship

protected class Ship.Fire
extends java.util.TimerTask

The event of this ship firing its weapon.


Constructor Summary
Ship.Fire(long firstTime, long repeatInterval)
           
 
Method Summary
 void run()
           
 
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Ship.Fire

public Ship.Fire(long firstTime,
                 long repeatInterval)
          throws Body.DisabledException
Method Detail

run

public void run()
Overrides:
run in class java.util.TimerTask