This class handles the state of the message window that display text or selections, etc. The instance of this class is referenced by $game_message.

Methods
B
C
N
Constants
MAX_LINE = 4
 

Constants

Attributes
[RW] background
[RW] choice_cancel_type
[RW] choice_max
[RW] choice_proc
[RW] choice_start
[RW] face_index
[RW] face_name
[RW] main_proc
[RW] num_input_digits_max
[RW] num_input_variable_id
[RW] position
[RW] texts

Public Instance Variables

[RW] visible
Class Public methods
new()

Object Initialization

# File Game_Message.rb, line 33
def initialize
  clear
  @visible = false
end
Instance Public methods
busy()

Busy Status Determination

# File Game_Message.rb, line 59
def busy
  return @texts.size > 0
end
clear()

Clear

# File Game_Message.rb, line 41
def clear
  @texts = []
  @face_name = ""
  @face_index = 0
  @background = 0
  @position = 2
  @main_proc = nil
  @choice_start = 99
  @choice_max = 0
  @choice_cancel_type = 0
  @choice_proc = nil
  @num_input_variable_id = 0
  @num_input_digits_max = 0
end
new_page()

New Page

# File Game_Message.rb, line 66
def new_page
  while @texts.size % MAX_LINE > 0
    @texts.push("")
  end
end