game
Class Stationary

java.lang.Object
  extended by game.Stationary
All Implemented Interfaces:
Trackable

public class Stationary
extends java.lang.Object
implements Trackable


Constructor Summary
Stationary(Point location)
           
 
Method Summary
 int advanceTime(int milliseconds)
          Time might as well stand still for a stationary object
 Point getLocation()
          As it was in the beginning, is now, and ever shall be
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Stationary

public Stationary(Point location)
Method Detail

advanceTime

public int advanceTime(int milliseconds)
Time might as well stand still for a stationary object

Specified by:
advanceTime in interface Trackable
Returns:
The current time after the update.

getLocation

public Point getLocation()
As it was in the beginning, is now, and ever shall be

Specified by:
getLocation in interface Trackable
Returns:
current location