Module: ShowFPS
- Defined in:
- lib/graphics/decorators.rb
Overview
Include this in your simulation to automatically include an FPS meter.
Instance Method Summary collapse
-
#draw(n) ⇒ Object
:nodoc:.
Instance Method Details
#draw(n) ⇒ Object
:nodoc:
6 7 8 9 |
# File 'lib/graphics/decorators.rb', line 6 def draw n # :nodoc: super fps n end |