Class: Interscript::Visualize::Stage
- Inherits:
-
Group
- Object
- Interscript::Visualize
- Group
- Interscript::Visualize::Stage
- Defined in:
- lib/interscript/visualize.rb
Instance Attribute Summary
Attributes inherited from Group
Instance Method Summary collapse
-
#initialize(map_name, stage_name, style = nil) ⇒ Stage
constructor
A new instance of Stage.
Methods inherited from Group
Methods inherited from Interscript::Visualize
call, def_template, #get_binding
Constructor Details
#initialize(map_name, stage_name, style = nil) ⇒ Stage
Returns a new instance of Stage.
55 56 57 58 59 |
# File 'lib/interscript/visualize.rb', line 55 def initialize(map_name, stage_name, style=nil) @map = Interscript.parse(map_name) @group = map.stages[stage_name] @style = style end |