Class: RPG::Event::Page::Condition
- Inherits:
-
Object
- Object
- RPG::Event::Page::Condition
- Defined in:
- lib/rpg/event/page/condition.rb
Instance Attribute Summary (collapse)
-
- (Object) actor_id
Returns the value of attribute actor_id.
-
- (Object) actor_valid
Returns the value of attribute actor_valid.
-
- (Object) item_id
Returns the value of attribute item_id.
-
- (Object) item_valid
Returns the value of attribute item_valid.
-
- (Object) self_switch_ch
Returns the value of attribute self_switch_ch.
-
- (Object) self_switch_valid
Returns the value of attribute self_switch_valid.
-
- (Object) switch1_id
Returns the value of attribute switch1_id.
-
- (Object) switch1_valid
Returns the value of attribute switch1_valid.
-
- (Object) switch2_id
Returns the value of attribute switch2_id.
-
- (Object) switch2_valid
Returns the value of attribute switch2_valid.
-
- (Object) variable_id
Returns the value of attribute variable_id.
-
- (Object) variable_valid
Returns the value of attribute variable_valid.
-
- (Object) variable_value
Returns the value of attribute variable_value.
Instance Method Summary (collapse)
-
- (Condition) initialize
constructor
A new instance of Condition.
Constructor Details
- (Condition) initialize
Returns a new instance of Condition
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/rpg/event/page/condition.rb', line 5 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
- (Object) actor_id
Returns the value of attribute actor_id
32 33 34 |
# File 'lib/rpg/event/page/condition.rb', line 32 def actor_id @actor_id end |
- (Object) actor_valid
Returns the value of attribute actor_valid
25 26 27 |
# File 'lib/rpg/event/page/condition.rb', line 25 def actor_valid @actor_valid end |
- (Object) item_id
Returns the value of attribute item_id
31 32 33 |
# File 'lib/rpg/event/page/condition.rb', line 31 def item_id @item_id end |
- (Object) item_valid
Returns the value of attribute item_valid
24 25 26 |
# File 'lib/rpg/event/page/condition.rb', line 24 def item_valid @item_valid end |
- (Object) self_switch_ch
Returns the value of attribute self_switch_ch
30 31 32 |
# File 'lib/rpg/event/page/condition.rb', line 30 def self_switch_ch @self_switch_ch end |
- (Object) self_switch_valid
Returns the value of attribute self_switch_valid
23 24 25 |
# File 'lib/rpg/event/page/condition.rb', line 23 def self_switch_valid @self_switch_valid end |
- (Object) switch1_id
Returns the value of attribute switch1_id
26 27 28 |
# File 'lib/rpg/event/page/condition.rb', line 26 def switch1_id @switch1_id end |
- (Object) switch1_valid
Returns the value of attribute switch1_valid
20 21 22 |
# File 'lib/rpg/event/page/condition.rb', line 20 def switch1_valid @switch1_valid end |
- (Object) switch2_id
Returns the value of attribute switch2_id
27 28 29 |
# File 'lib/rpg/event/page/condition.rb', line 27 def switch2_id @switch2_id end |
- (Object) switch2_valid
Returns the value of attribute switch2_valid
21 22 23 |
# File 'lib/rpg/event/page/condition.rb', line 21 def switch2_valid @switch2_valid end |
- (Object) variable_id
Returns the value of attribute variable_id
28 29 30 |
# File 'lib/rpg/event/page/condition.rb', line 28 def variable_id @variable_id end |
- (Object) variable_valid
Returns the value of attribute variable_valid
22 23 24 |
# File 'lib/rpg/event/page/condition.rb', line 22 def variable_valid @variable_valid end |
- (Object) variable_value
Returns the value of attribute variable_value
29 30 31 |
# File 'lib/rpg/event/page/condition.rb', line 29 def variable_value @variable_value end |