Class: RPG::Troop::Page::Condition
- Inherits:
-
Object
- Object
- RPG::Troop::Page::Condition
- Defined in:
- lib/R3EXS/RGSS3.rb
Instance Attribute Summary collapse
-
#actor_hp ⇒ Object
Returns the value of attribute actor_hp.
-
#actor_id ⇒ Object
Returns the value of attribute actor_id.
-
#actor_valid ⇒ Object
Returns the value of attribute actor_valid.
-
#enemy_hp ⇒ Object
Returns the value of attribute enemy_hp.
-
#enemy_index ⇒ Object
Returns the value of attribute enemy_index.
-
#enemy_valid ⇒ Object
Returns the value of attribute enemy_valid.
-
#switch_id ⇒ Object
Returns the value of attribute switch_id.
-
#switch_valid ⇒ Object
Returns the value of attribute switch_valid.
-
#turn_a ⇒ Object
Returns the value of attribute turn_a.
-
#turn_b ⇒ Object
Returns the value of attribute turn_b.
-
#turn_ending ⇒ Object
Returns the value of attribute turn_ending.
-
#turn_valid ⇒ Object
Returns the value of attribute turn_valid.
Instance Method Summary collapse
-
#initialize ⇒ Condition
constructor
A new instance of Condition.
Constructor Details
#initialize ⇒ Condition
Returns a new instance of Condition.
1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 |
# File 'lib/R3EXS/RGSS3.rb', line 1105 def initialize @turn_ending = false @turn_valid = false @enemy_valid = false @actor_valid = false @switch_valid = false @turn_a = 0 @turn_b = 0 @enemy_index = 0 @enemy_hp = 50 @actor_id = 1 @actor_hp = 50 @switch_id = 1 end |
Instance Attribute Details
#actor_hp ⇒ Object
Returns the value of attribute actor_hp.
1130 1131 1132 |
# File 'lib/R3EXS/RGSS3.rb', line 1130 def actor_hp @actor_hp end |
#actor_id ⇒ Object
Returns the value of attribute actor_id.
1129 1130 1131 |
# File 'lib/R3EXS/RGSS3.rb', line 1129 def actor_id @actor_id end |
#actor_valid ⇒ Object
Returns the value of attribute actor_valid.
1123 1124 1125 |
# File 'lib/R3EXS/RGSS3.rb', line 1123 def actor_valid @actor_valid end |
#enemy_hp ⇒ Object
Returns the value of attribute enemy_hp.
1128 1129 1130 |
# File 'lib/R3EXS/RGSS3.rb', line 1128 def enemy_hp @enemy_hp end |
#enemy_index ⇒ Object
Returns the value of attribute enemy_index.
1127 1128 1129 |
# File 'lib/R3EXS/RGSS3.rb', line 1127 def enemy_index @enemy_index end |
#enemy_valid ⇒ Object
Returns the value of attribute enemy_valid.
1122 1123 1124 |
# File 'lib/R3EXS/RGSS3.rb', line 1122 def enemy_valid @enemy_valid end |
#switch_id ⇒ Object
Returns the value of attribute switch_id.
1131 1132 1133 |
# File 'lib/R3EXS/RGSS3.rb', line 1131 def switch_id @switch_id end |
#switch_valid ⇒ Object
Returns the value of attribute switch_valid.
1124 1125 1126 |
# File 'lib/R3EXS/RGSS3.rb', line 1124 def switch_valid @switch_valid end |
#turn_a ⇒ Object
Returns the value of attribute turn_a.
1125 1126 1127 |
# File 'lib/R3EXS/RGSS3.rb', line 1125 def turn_a @turn_a end |
#turn_b ⇒ Object
Returns the value of attribute turn_b.
1126 1127 1128 |
# File 'lib/R3EXS/RGSS3.rb', line 1126 def turn_b @turn_b end |
#turn_ending ⇒ Object
Returns the value of attribute turn_ending.
1120 1121 1122 |
# File 'lib/R3EXS/RGSS3.rb', line 1120 def turn_ending @turn_ending end |
#turn_valid ⇒ Object
Returns the value of attribute turn_valid.
1121 1122 1123 |
# File 'lib/R3EXS/RGSS3.rb', line 1121 def turn_valid @turn_valid end |