Class AS::FPSCounter
In: lib/as_timer.rb
Parent: Object

Framerate counter.

Methods

new   tick  

Attributes

current  [R]  Framerate statistics.
max  [R]  Framerate statistics.
min  [R]  Framerate statistics.
ticks  [R] 
to_s  [R] 

Public Class methods

Create a new framerate counter. Samples is the number of ticks between statistics updates.

Public Instance methods

Advance the counter. Returns true when the statistics are updated.

[Validate]