Class: ScriptLoader::PSDKConfig::LayoutConfig

Inherits:
Object
  • Object
show all
Defined in:
scripts/00000 PSDK_CONFIG.rb

Overview

Claas describing the layout configuration

Defined Under Namespace

Classes: Choice, General, Message

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeLayoutConfig

Create a new layout config



366
367
368
369
370
# File 'scripts/00000 PSDK_CONFIG.rb', line 366

def initialize
  @general = General.new
  @messages = { any: Message.new, 'Battle::Scene' => Message.new }
  @choices = { any: Choice.new }
end

Instance Attribute Details

#choicesHash{ String => Choice } (readonly)

Information about how to show the choices according to the scene class

Returns:



363
364
365
# File 'scripts/00000 PSDK_CONFIG.rb', line 363

def choices
  @choices
end

#generalGeneral (readonly)

General information about font (loading the fonts, sizes etc…)

Returns:



357
358
359
# File 'scripts/00000 PSDK_CONFIG.rb', line 357

def general
  @general
end

#messagesHash{ String => Message } (readonly)

Informations about how to show message according to the scene class

Returns:



360
361
362
# File 'scripts/00000 PSDK_CONFIG.rb', line 360

def messages
  @messages
end