|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xith3d.loop.UpdaterImpl
public class UpdaterImpl
This is the simplest possible implementation of Updater.
| Constructor Summary | |
|---|---|
UpdaterImpl()
|
|
| Method Summary | |
|---|---|
void |
addUpdatable(Updatable updatable)
Adds a new Updatable instance to the list, that is worked each frame. |
void |
removeUpdatable(Updatable updatable)
Removes an Updatable instance from the list, that is worked each frame. |
void |
update(long gameTime,
long frameTime,
UpdatingThread.TimingMode timingMode)
Updates this Updatable object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UpdaterImpl()
| Method Detail |
|---|
public void addUpdatable(Updatable updatable)
addUpdatable in interface Updaterpublic void removeUpdatable(Updatable updatable)
removeUpdatable in interface Updater
public void update(long gameTime,
long frameTime,
UpdatingThread.TimingMode timingMode)
update in interface UpdatablegameTime - the gameTime in MillisecondsframeTime - the frameTime in Milliseconds (needed time for the last frame)timingMode - the TimingMode to use for frameTime.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||