Class: Configs::Window
Overview
Configuration of window
Every window builder should be Array of integer like this ConstName = [middle_tile_x, middle_tile_y, middle_tile_width, middle_tile_height, contents_offset_left, contents_offset_top, contents_offset_right, contents_offset_bottom]
Instance Attribute Summary collapse
-
#builders ⇒ Hash{Symbol => Array}
All the window builder.
-
#message_frames ⇒ Hash{Symbol => String}
All message frames with their names.
Instance Method Summary collapse
-
#initialize ⇒ Window
constructor
A new instance of Window.
-
#message_frame_filenames ⇒ Array<String>
Get all the message frame filenames.
-
#message_frame_names ⇒ Array<String>
Get all the message frame names.
-
#to_json
Convert the config to json.
Constructor Details
#initialize ⇒ Window
Returns a new instance of Window.
1577 1578 |
# File 'docs/3_Studio.rb', line 1577 def initialize end |
Instance Attribute Details
#builders ⇒ Hash{Symbol => Array}
All the window builder
1576 1577 1578 |
# File 'docs/3_Studio.rb', line 1576 def builders @builders end |
#message_frames ⇒ Hash{Symbol => String}
All message frames with their names
1573 1574 1575 |
# File 'docs/3_Studio.rb', line 1573 def @message_frames end |
Instance Method Details
#message_frame_filenames ⇒ Array<String>
Get all the message frame filenames
1581 1582 |
# File 'docs/3_Studio.rb', line 1581 def end |
#message_frame_names ⇒ Array<String>
Get all the message frame names
1585 1586 |
# File 'docs/3_Studio.rb', line 1585 def end |
#to_json
Convert the config to json
1588 1589 |
# File 'docs/3_Studio.rb', line 1588 def to_json(*) end |