|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--GP.TimeManager
Constructor Summary | |
TimeManager()
|
Method Summary | |
double |
GetCurrentTime()
Returns this time manager's current time. |
void |
Pause()
Pause the time managers clock. |
boolean |
Paused()
|
void |
Play()
Start the time manager's clock. |
boolean |
Playing()
|
void |
SetTime(double time)
Set time manager's absolute time |
void |
Stop()
Stop the time managers clock. |
boolean |
Stopped()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TimeManager()
Method Detail |
public boolean Playing()
public boolean Paused()
public boolean Stopped()
public void SetTime(double time)
time
- is in seconds, 50.43 is 50 seconds and 43 hundreths secondspublic double GetCurrentTime()
GetCurrentTime
in interface Playable
public void Play()
Play
in interface Playable
public void Pause()
Pause
in interface Playable
public void Stop()
Stop
in interface Playable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |