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

Inherits:
Object
  • Object
show all
Defined in:
lib/rgss3/rpg.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeCondition

Returns a new instance of Condition.



256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
# File 'lib/rgss3/rpg.rb', line 256

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

Instance Attribute Details

#actor_idObject

Returns the value of attribute actor_id.



283
284
285
# File 'lib/rgss3/rpg.rb', line 283

def actor_id
  @actor_id
end

#actor_validObject

Returns the value of attribute actor_valid.



276
277
278
# File 'lib/rgss3/rpg.rb', line 276

def actor_valid
  @actor_valid
end

#item_idObject

Returns the value of attribute item_id.



282
283
284
# File 'lib/rgss3/rpg.rb', line 282

def item_id
  @item_id
end

#item_validObject

Returns the value of attribute item_valid.



275
276
277
# File 'lib/rgss3/rpg.rb', line 275

def item_valid
  @item_valid
end

#self_switch_chObject

Returns the value of attribute self_switch_ch.



281
282
283
# File 'lib/rgss3/rpg.rb', line 281

def self_switch_ch
  @self_switch_ch
end

#self_switch_validObject

Returns the value of attribute self_switch_valid.



274
275
276
# File 'lib/rgss3/rpg.rb', line 274

def self_switch_valid
  @self_switch_valid
end

#switch1_idObject

Returns the value of attribute switch1_id.



277
278
279
# File 'lib/rgss3/rpg.rb', line 277

def switch1_id
  @switch1_id
end

#switch1_validObject

Returns the value of attribute switch1_valid.



271
272
273
# File 'lib/rgss3/rpg.rb', line 271

def switch1_valid
  @switch1_valid
end

#switch2_idObject

Returns the value of attribute switch2_id.



278
279
280
# File 'lib/rgss3/rpg.rb', line 278

def switch2_id
  @switch2_id
end

#switch2_validObject

Returns the value of attribute switch2_valid.



272
273
274
# File 'lib/rgss3/rpg.rb', line 272

def switch2_valid
  @switch2_valid
end

#variable_idObject

Returns the value of attribute variable_id.



279
280
281
# File 'lib/rgss3/rpg.rb', line 279

def variable_id
  @variable_id
end

#variable_validObject

Returns the value of attribute variable_valid.



273
274
275
# File 'lib/rgss3/rpg.rb', line 273

def variable_valid
  @variable_valid
end

#variable_valueObject

Returns the value of attribute variable_value.



280
281
282
# File 'lib/rgss3/rpg.rb', line 280

def variable_value
  @variable_value
end