Class | AS::TickTimer |
In: |
lib/as_timer.rb
|
Parent: | Object |
TickTimers keep a constant amount of time between ticks, calling a block of code if there is time before the tick ends.
on_time | [R] | False if the timer is behind this tick. |
step | [R] | The timestep for each tick. 1.0/(ticks per second) |
ticks | [R] | The current tick count. |