Class: Gamefic::Scene::Activity
- Defined in:
- lib/gamefic/scene/activity.rb
Overview
A scene that accepts player commands for actors to perform.
Instance Attribute Summary
Attributes inherited from Default
Instance Method Summary collapse
Methods inherited from Default
#conclusion?, #initialize, #new_props, #on_finish, #on_start, props_class, #run_finish_blocks, #run_start_blocks, #start, #to_hash, #type
Constructor Details
This class inherits a constructor from Gamefic::Scene::Default
Instance Method Details
#finish(actor, props) ⇒ Object
8 9 10 11 |
# File 'lib/gamefic/scene/activity.rb', line 8 def finish actor, props super actor.perform props.input end |