Class: RPG::Troop::Member

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeMember

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_idObject

Returns the value of attribute enemy_id.



1064
1065
1066
# File 'lib/R3EXS/RGSS3.rb', line 1064

def enemy_id
  @enemy_id
end

#hiddenObject

Returns the value of attribute hidden.



1067
1068
1069
# File 'lib/R3EXS/RGSS3.rb', line 1067

def hidden
  @hidden
end

#xObject

Returns the value of attribute x.



1065
1066
1067
# File 'lib/R3EXS/RGSS3.rb', line 1065

def x
  @x
end

#yObject

Returns the value of attribute y.



1066
1067
1068
# File 'lib/R3EXS/RGSS3.rb', line 1066

def y
  @y
end