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.
1429 1430 |
# File 'docs/00800_Studio.rb', line 1429 def initialize end |
Instance Attribute Details
#builders ⇒ Hash<Symbol => Array>
All the window builder
1428 1429 1430 |
# File 'docs/00800_Studio.rb', line 1428 def builders @builders end |
#message_frames ⇒ Hash<Symbol => String>
All message frames with their names
1425 1426 1427 |
# File 'docs/00800_Studio.rb', line 1425 def @message_frames end |
Instance Method Details
#message_frame_filenames ⇒ Array<String>
Get all the message frame filenames
1433 1434 |
# File 'docs/00800_Studio.rb', line 1433 def end |
#message_frame_names ⇒ Array<String>
Get all the message frame names
1437 1438 |
# File 'docs/00800_Studio.rb', line 1437 def end |
#to_json
Convert the config to json
1440 1441 |
# File 'docs/00800_Studio.rb', line 1440 def to_json(*) end |