Class: Configs::Project::Texts::MessageConfig

Inherits:
ChoiceConfig show all
Defined in:
scripts/00021 ProjectConfig.rb

Overview

Configuration of messages boxes

Instance Attribute Summary collapse

Attributes inherited from ChoiceConfig

#border_spacing, #color_mapping, #default_color, #default_font, #window_skin

Instance Method Summary collapse

Constructor Details

#initialize(v) ⇒ MessageConfig

Returns a new instance of MessageConfig.



211
212
213
214
215
# File 'scripts/00021 ProjectConfig.rb', line 211

def initialize(v)
  super(v)
  @name_window_skin = v[:nameWindowSkin]
  @line_count = v[:lineCount]
end

Instance Attribute Details

#line_countInteger (readonly)

Get the number of lines the message has

Returns:



209
210
211
# File 'scripts/00021 ProjectConfig.rb', line 209

def line_count
  @line_count
end

#name_window_skinString? (readonly)

Get the window skin of the name box

Returns:



205
206
207
# File 'scripts/00021 ProjectConfig.rb', line 205

def name_window_skin
  @name_window_skin
end