Package com.croftsoft.core.util.loop

Threaded loop library for animation and simulation.

See:
          Description

Interface Summary
Loopable An object capable of implementing some task in a loop.
LoopGovernor Regulates the loop frequency by putting the Thread to sleep.
 

Class Summary
EventQueueUpdateLoop A Loopable that updates Updatables via the EventQueue.
FixedDelayLoopGovernor Maintains a periodic rate by stalling the loop by a fixed delay.
Looper Periodically runs a task in a loop using a separate thread.
NanoTimeLoopGovernor Uses System nanoTime() to measure time between calls.
SamplerLoopGovernor Sets the delay by sampling the calling frequency over time.
UpdateLoop A Loopable that updates Updatables.
WindowedLoopGovernor Uses windowed averaging to estimate the target loop delay.
 

Package com.croftsoft.core.util.loop Description

Threaded loop library for animation and simulation.

The loop library is documented in the book Advanced Java Game Programming.


CroftSoft Javadoc

CroftSoft Core Javadoc (2008-09-28 20:58:02)