Class: RPG::Troop::Member

Inherits:
Object
  • Object
show all
Defined in:
lib/eidolon/rgssx/rpg/troop/member.rb

Overview

RGSSx

This class is present and relatively consistent across all RGSS versions.

Member

The data class for enemy troop members.

Instance Attribute Summary collapse

Instance Attribute Details

#enemy_idObject

Returns the value of attribute enemy_id.



11
12
13
# File 'lib/eidolon/rgssx/rpg/troop/member.rb', line 11

def enemy_id
  @enemy_id
end

#hiddenObject

Returns the value of attribute hidden.



12
13
14
# File 'lib/eidolon/rgssx/rpg/troop/member.rb', line 12

def hidden
  @hidden
end

#immortalObject

Returns the value of attribute immortal.



13
14
15
# File 'lib/eidolon/rgssx/rpg/troop/member.rb', line 13

def immortal
  @immortal
end

#xObject

Returns the value of attribute x.



14
15
16
# File 'lib/eidolon/rgssx/rpg/troop/member.rb', line 14

def x
  @x
end

#yObject

Returns the value of attribute y.



15
16
17
# File 'lib/eidolon/rgssx/rpg/troop/member.rb', line 15

def y
  @y
end