Class: RPG::Troop::Member
- Inherits:
-
Object
- Object
- RPG::Troop::Member
- Defined in:
- lib/rgss3/rpg.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.
759 760 761 762 763 764 |
# File 'lib/rgss3/rpg.rb', line 759 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.
765 766 767 |
# File 'lib/rgss3/rpg.rb', line 765 def enemy_id @enemy_id end |
#hidden ⇒ Object
Returns the value of attribute hidden.
768 769 770 |
# File 'lib/rgss3/rpg.rb', line 768 def hidden @hidden end |
#x ⇒ Object
Returns the value of attribute x.
766 767 768 |
# File 'lib/rgss3/rpg.rb', line 766 def x @x end |
#y ⇒ Object
Returns the value of attribute y.
767 768 769 |
# File 'lib/rgss3/rpg.rb', line 767 def y @y end |