Class: RPG::Troop::Page::Condition

Inherits:
Object
  • Object
show all
Defined in:
lib/R3EXS/RGSS3.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeCondition

Returns a new instance of Condition.



1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
# File 'lib/R3EXS/RGSS3.rb', line 1083

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_hpObject

Returns the value of attribute actor_hp.



1108
1109
1110
# File 'lib/R3EXS/RGSS3.rb', line 1108

def actor_hp
  @actor_hp
end

#actor_idObject

Returns the value of attribute actor_id.



1107
1108
1109
# File 'lib/R3EXS/RGSS3.rb', line 1107

def actor_id
  @actor_id
end

#actor_validObject

Returns the value of attribute actor_valid.



1101
1102
1103
# File 'lib/R3EXS/RGSS3.rb', line 1101

def actor_valid
  @actor_valid
end

#enemy_hpObject

Returns the value of attribute enemy_hp.



1106
1107
1108
# File 'lib/R3EXS/RGSS3.rb', line 1106

def enemy_hp
  @enemy_hp
end

#enemy_indexObject

Returns the value of attribute enemy_index.



1105
1106
1107
# File 'lib/R3EXS/RGSS3.rb', line 1105

def enemy_index
  @enemy_index
end

#enemy_validObject

Returns the value of attribute enemy_valid.



1100
1101
1102
# File 'lib/R3EXS/RGSS3.rb', line 1100

def enemy_valid
  @enemy_valid
end

#switch_idObject

Returns the value of attribute switch_id.



1109
1110
1111
# File 'lib/R3EXS/RGSS3.rb', line 1109

def switch_id
  @switch_id
end

#switch_validObject

Returns the value of attribute switch_valid.



1102
1103
1104
# File 'lib/R3EXS/RGSS3.rb', line 1102

def switch_valid
  @switch_valid
end

#turn_aObject

Returns the value of attribute turn_a.



1103
1104
1105
# File 'lib/R3EXS/RGSS3.rb', line 1103

def turn_a
  @turn_a
end

#turn_bObject

Returns the value of attribute turn_b.



1104
1105
1106
# File 'lib/R3EXS/RGSS3.rb', line 1104

def turn_b
  @turn_b
end

#turn_endingObject

Returns the value of attribute turn_ending.



1098
1099
1100
# File 'lib/R3EXS/RGSS3.rb', line 1098

def turn_ending
  @turn_ending
end

#turn_validObject

Returns the value of attribute turn_valid.



1099
1100
1101
# File 'lib/R3EXS/RGSS3.rb', line 1099

def turn_valid
  @turn_valid
end