|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttipgame.tracker.TrackerAdapter
public abstract class TrackerAdapter
provides a default implementation of the Tracker interface methods except for advanceTime
| Constructor Summary | |
|---|---|
TrackerAdapter()
|
|
| Method Summary | |
|---|---|
abstract void |
advanceTime(double time)
advances time |
java.awt.geom.Point2D.Double |
getLocation()
returns (0, 0) |
double |
getRotationAddition()
returns 0 |
double |
getScaleFactor()
returns 1 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TrackerAdapter()
| Method Detail |
|---|
public java.awt.geom.Point2D.Double getLocation()
getLocation in interface TrackerTracker.getLocation()public double getScaleFactor()
getScaleFactor in interface TrackerTracker.getScaleFactor()public double getRotationAddition()
getRotationAddition in interface TrackerTracker.getRotationAddition()public abstract void advanceTime(double time)
advanceTime in interface Trackertime - the amount to advance
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||