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.



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_idObject

Returns the value of attribute enemy_id.



1086
1087
1088
# File 'lib/R3EXS/RGSS3.rb', line 1086

def enemy_id
  @enemy_id
end

#hiddenObject

Returns the value of attribute hidden.



1089
1090
1091
# File 'lib/R3EXS/RGSS3.rb', line 1089

def hidden
  @hidden
end

#xObject

Returns the value of attribute x.



1087
1088
1089
# File 'lib/R3EXS/RGSS3.rb', line 1087

def x
  @x
end

#yObject

Returns the value of attribute y.



1088
1089
1090
# File 'lib/R3EXS/RGSS3.rb', line 1088

def y
  @y
end