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.
1057 1058 1059 1060 1061 1062 |
# File 'lib/R3EXS/RGSS3.rb', line 1057 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.
1064 1065 1066 |
# File 'lib/R3EXS/RGSS3.rb', line 1064 def enemy_id @enemy_id end |
#hidden ⇒ Object
Returns the value of attribute hidden.
1067 1068 1069 |
# File 'lib/R3EXS/RGSS3.rb', line 1067 def hidden @hidden end |
#x ⇒ Object
Returns the value of attribute x.
1065 1066 1067 |
# File 'lib/R3EXS/RGSS3.rb', line 1065 def x @x end |
#y ⇒ Object
Returns the value of attribute y.
1066 1067 1068 |
# File 'lib/R3EXS/RGSS3.rb', line 1066 def y @y end |