Method: Actor#on_floor
- Defined in:
- lib/fantasy/actor.rb
#on_floor(&block) ⇒ Object
The block to be executed when the Actor touches floor
471 472 473 |
# File 'lib/fantasy/actor.rb', line 471 def on_floor(&block) @on_floor_callback = block end |