Class: Interscript::Visualize::Stage

Inherits:
Group show all
Defined in:
lib/interscript/visualize.rb

Instance Attribute Summary

Attributes inherited from Group

#group, #map

Instance Method Summary collapse

Methods inherited from Group

#render_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