Module: UI::Message::Layout
Overview
Module defining the Message layout
Constant Summary collapse
- PAUSE_SKIN =
Name of the pause skin in Graphics/Windowskins/
'Pause2'
- NAME_SKIN =
Windowskin for the name window
'message'
Instance Attribute Summary collapse
-
#input_number_window ⇒ UI::InputNumber
Attribute that holds the UI::InputNumber object.
Attributes included from TemporaryOverwrites
#line_number_overwrite, #nameskin_overwrite, #position_overwrite, #width_overwrite, #windowskin_overwrite
Instance Method Summary collapse
-
#can_sub_window_be_updated? ⇒ Boolean
Function that test if sub window can be updated (choice / number).
-
#current_layout ⇒ Configs::Project::Texts::MessageConfig
Retrieve the current layout configuration based on the scene.
-
#dispose(with_viewport: false)
Dispose the layout.
-
#face_speaker_y ⇒ Integer
Return the face_speaker y position.
-
#generate_choice_window
Generate the choice window.
-
#generate_input_number_window
Generate the number input window.
-
#initialize(*args, scene)
Initialize the states.
-
#load_sub_layout
Load the sub layout based on properties.
-
#parse_speaker_position(position) ⇒ Integer
Function that translate the position to a coordinate.
-
#show_city_image
Show the city image.
-
#show_face(face)
Show a face.
-
#show_gold_window
Show a window that tells the player how much money he got.
-
#show_name_window
Show the name window.
Methods included from TemporaryOverwrites
Instance Attribute Details
#input_number_window ⇒ UI::InputNumber
Attribute that holds the UI::InputNumber object
456 457 458 |
# File 'docs/4_Systems_004_Message.rb', line 456 def input_number_window @input_number_window end |
Instance Method Details
#can_sub_window_be_updated? ⇒ Boolean
Function that test if sub window can be updated (choice / number)
563 564 |
# File 'docs/4_Systems_004_Message.rb', line 563 def can_sub_window_be_updated? end |
#current_layout ⇒ Configs::Project::Texts::MessageConfig
Retrieve the current layout configuration based on the scene
472 473 |
# File 'docs/4_Systems_004_Message.rb', line 472 def current_layout end |
#dispose(with_viewport: false)
Dispose the layout
476 477 |
# File 'docs/4_Systems_004_Message.rb', line 476 def dispose(with_viewport: false) end |
#face_speaker_y ⇒ Integer
Return the face_speaker y position
582 583 |
# File 'docs/4_Systems_004_Message.rb', line 582 def face_speaker_y end |
#generate_choice_window
Generate the choice window
553 554 |
# File 'docs/4_Systems_004_Message.rb', line 553 def generate_choice_window end |
#generate_input_number_window
Generate the number input window
556 557 |
# File 'docs/4_Systems_004_Message.rb', line 556 def generate_input_number_window end |
#initialize(*args, scene)
Initialize the states
468 469 |
# File 'docs/4_Systems_004_Message.rb', line 468 def initialize(*args, scene) end |
#load_sub_layout
Load the sub layout based on properties
585 586 |
# File 'docs/4_Systems_004_Message.rb', line 585 def load_sub_layout end |
#parse_speaker_position(position) ⇒ Integer
Function that translate the position to a coordinate
578 579 |
# File 'docs/4_Systems_004_Message.rb', line 578 def parse_speaker_position(position) end |
#show_city_image
Show the city image
569 570 |
# File 'docs/4_Systems_004_Message.rb', line 569 def show_city_image end |
#show_face(face)
Show a face
573 574 |
# File 'docs/4_Systems_004_Message.rb', line 573 def show_face(face) end |
#show_gold_window
Show a window that tells the player how much money he got
559 560 |
# File 'docs/4_Systems_004_Message.rb', line 559 def show_gold_window end |
#show_name_window
Show the name window
566 567 |
# File 'docs/4_Systems_004_Message.rb', line 566 def show_name_window end |