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 Base
#actor, #context, #name, #narrative, #props
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Base
finish_blocks, inherited, #initialize, on_finish, on_start, props_class, #rename, rename, #start, start_blocks, #to_hash, #type
Constructor Details
This class inherits a constructor from Gamefic::Scene::Base
Class Method Details
.type ⇒ Object
13 14 15 |
# File 'lib/gamefic/scene/activity.rb', line 13 def self.type 'Activity' end |
Instance Method Details
#finish ⇒ Object
8 9 10 11 |
# File 'lib/gamefic/scene/activity.rb', line 8 def finish actor.perform props.input super end |