|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectfang.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)
this method is called between each frame. |
double |
getRotationAddition()
returns 0. |
double |
getRotationAdditionDegrees()
returns 0. |
double |
getRotationAdditionRadians()
returns 0. |
double |
getRotationAdditionRevolutions()
returns 0. |
double |
getScaleFactor()
returns 1 |
Point2D.Double |
getTranslation()
returns (0, 0) |
| 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 Point2D.Double getTranslation()
getTranslation in interface Trackerfang.core.Tracker#getTranslation()public double getScaleFactor()
getScaleFactor in interface Trackerfang.core.Tracker#getScaleFactor()public double getRotationAddition()
getRotationAddition in interface Trackerfang.core.Tracker#getRotationAddition()public double getRotationAdditionRadians()
fang.core.Tracker#getRotationAddition()public double getRotationAdditionDegrees()
public double getRotationAdditionRevolutions()
public abstract void advanceTime(double time)
advanceTime in interface Trackertime - the amount of time passed since
the last call to this method
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||