Class: RPG::Troop

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

Overview

RGSSx

This class is present and consistent across all RGSS versions.

Troop

The data class for enemy troops (collections of enemies).

Defined Under Namespace

Classes: Member, Page

Instance Attribute Summary collapse

Instance Attribute Details

#idObject

Returns the value of attribute id.



8
9
10
# File 'lib/eidolon/rgss2/rpg/troop.rb', line 8

def id
  @id
end

#membersObject

Returns the value of attribute members.



10
11
12
# File 'lib/eidolon/rgss2/rpg/troop.rb', line 10

def members
  @members
end

#nameObject

Returns the value of attribute name.



9
10
11
# File 'lib/eidolon/rgss2/rpg/troop.rb', line 9

def name
  @name
end

#pagesObject

Returns the value of attribute pages.



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

def pages
  @pages
end