Class: Configs::Window

Inherits:
Object show all
Defined in:
docs/3_Studio.rb

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

Instance Method Summary collapse

Constructor Details

#initializeWindow

Returns a new instance of Window.



1460
1461
# File 'docs/3_Studio.rb', line 1460

def initialize
end

Instance Attribute Details

#buildersHash<Symbol => Array>

All the window builder

Returns:

  • (Hash<Symbol => Array>)


1459
1460
1461
# File 'docs/3_Studio.rb', line 1459

def builders
  @builders
end

#message_framesHash<Symbol => String>

All message frames with their names

Returns:



1456
1457
1458
# File 'docs/3_Studio.rb', line 1456

def message_frames
  @message_frames
end

Instance Method Details

#message_frame_filenamesArray<String>

Get all the message frame filenames

Returns:



1464
1465
# File 'docs/3_Studio.rb', line 1464

def message_frame_filenames
end

#message_frame_namesArray<String>

Get all the message frame names

Returns:



1468
1469
# File 'docs/3_Studio.rb', line 1468

def message_frame_names
end

#to_json

Convert the config to json



1471
1472
# File 'docs/3_Studio.rb', line 1471

def to_json(*)
end