The data class for the event page conditions.
The truth value indicating whether the first [Switch] condition is valid.
The truth value indicating whether the second [Switch] condition is valid.
The truth value indicating whether the [Variable] condition is valid.
The truth value indicating whether the [Self Switch] condition is valid.
The truth value indicating whether the [Item] condition is valid.
The truth value indicating whether the [Actor] condition is valid.
The ID of that switch if the first [Switch] condition is valid.
The ID of that switch if the second [Switch] condition is valid.
The ID of that variable if the [Variable] condition is valid.
The standard value of that variable (x and greater) if the [Variable] condition is valid.
The letter of that self switch ("A".."D") if the [Self Switch] condition is valid.
The ID of that item if the [Item] condition is valid.
The ID of that actor if the [Actor] condition is valid.
class RPG::Event::Page::Condition
def initialize
@switch1_valid = false
@switch2_valid = false
@variable_valid = false
@self_switch_valid = false
@item_valid = false
@actor_valid = false
@switch1_id = 1
@switch2_id = 1
@variable_id = 1
@variable_value = 0
@self_switch_ch = 'A'
@item_id = 1
@actor_id = 1
end
attr_accessor :switch1_valid
attr_accessor :switch2_valid
attr_accessor :variable_valid
attr_accessor :self_switch_valid
attr_accessor :item_valid
attr_accessor :actor_valid
attr_accessor :switch1_id
attr_accessor :switch2_id
attr_accessor :variable_id
attr_accessor :variable_value
attr_accessor :self_switch_ch
attr_accessor :item_id
attr_accessor :actor_id
end