Class: RPG::Troop::Member
- Inherits:
-
Object
- Object
- RPG::Troop::Member
- Defined in:
- lib/R3EXS/RGSS3.rb
Instance Attribute Summary collapse
-
#enemy_id ⇒ Object
Returns the value of attribute enemy_id.
-
#hidden ⇒ Object
Returns the value of attribute hidden.
-
#x ⇒ Object
Returns the value of attribute x.
-
#y ⇒ Object
Returns the value of attribute y.
Instance Method Summary collapse
-
#initialize ⇒ Member
constructor
A new instance of Member.
Constructor Details
#initialize ⇒ Member
Returns a new instance of Member.
1079 1080 1081 1082 1083 1084 |
# File 'lib/R3EXS/RGSS3.rb', line 1079 def initialize @enemy_id = 1 @x = 0 @y = 0 @hidden = false end |
Instance Attribute Details
#enemy_id ⇒ Object
Returns the value of attribute enemy_id.
1086 1087 1088 |
# File 'lib/R3EXS/RGSS3.rb', line 1086 def enemy_id @enemy_id end |
#hidden ⇒ Object
Returns the value of attribute hidden.
1089 1090 1091 |
# File 'lib/R3EXS/RGSS3.rb', line 1089 def hidden @hidden end |
#x ⇒ Object
Returns the value of attribute x.
1087 1088 1089 |
# File 'lib/R3EXS/RGSS3.rb', line 1087 def x @x end |
#y ⇒ Object
Returns the value of attribute y.
1088 1089 1090 |
# File 'lib/R3EXS/RGSS3.rb', line 1088 def y @y end |