Class: RPG::Troop::Member

Inherits:
Object
  • Object
show all
Defined in:
lib/rgss3/rpg.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeMember

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_idObject

Returns the value of attribute enemy_id.



765
766
767
# File 'lib/rgss3/rpg.rb', line 765

def enemy_id
  @enemy_id
end

#hiddenObject

Returns the value of attribute hidden.



768
769
770
# File 'lib/rgss3/rpg.rb', line 768

def hidden
  @hidden
end

#xObject

Returns the value of attribute x.



766
767
768
# File 'lib/rgss3/rpg.rb', line 766

def x
  @x
end

#yObject

Returns the value of attribute y.



767
768
769
# File 'lib/rgss3/rpg.rb', line 767

def y
  @y
end