Class: RPG::Event::Page::Condition

Inherits:
Object
  • Object
show all
Defined in:
docs/00000_Dependencies.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#self_switch_ch

Returns the value of attribute self_switch_ch.



1198
1199
1200
# File 'docs/00000_Dependencies.rb', line 1198

def self_switch_ch
  @self_switch_ch
end

#self_switch_valid

Returns the value of attribute self_switch_valid.



1193
1194
1195
# File 'docs/00000_Dependencies.rb', line 1193

def self_switch_valid
  @self_switch_valid
end

#switch1_id

Returns the value of attribute switch1_id.



1194
1195
1196
# File 'docs/00000_Dependencies.rb', line 1194

def switch1_id
  @switch1_id
end

#switch1_valid

Returns the value of attribute switch1_valid.



1190
1191
1192
# File 'docs/00000_Dependencies.rb', line 1190

def switch1_valid
  @switch1_valid
end

#switch2_id

Returns the value of attribute switch2_id.



1195
1196
1197
# File 'docs/00000_Dependencies.rb', line 1195

def switch2_id
  @switch2_id
end

#switch2_valid

Returns the value of attribute switch2_valid.



1191
1192
1193
# File 'docs/00000_Dependencies.rb', line 1191

def switch2_valid
  @switch2_valid
end

#variable_id

Returns the value of attribute variable_id.



1196
1197
1198
# File 'docs/00000_Dependencies.rb', line 1196

def variable_id
  @variable_id
end

#variable_valid

Returns the value of attribute variable_valid.



1192
1193
1194
# File 'docs/00000_Dependencies.rb', line 1192

def variable_valid
  @variable_valid
end

#variable_value

Returns the value of attribute variable_value.



1197
1198
1199
# File 'docs/00000_Dependencies.rb', line 1197

def variable_value
  @variable_value
end

Instance Method Details

#valid?(map_id, event_id) ⇒ Boolean

Return if the page condition is currently valid

Parameters:

  • map_id (Integer)

    ID of the map where the event is

  • event_id (Integer)

    ID of the event

Returns:

  • (Boolean)

    if the page is valid



1188
1189
# File 'docs/00000_Dependencies.rb', line 1188

def valid?(map_id, event_id)
end