Class: Game_Troop

Inherits:
Object show all
Defined in:
docs/00600_Script_RMXP.rb

Overview

Class that describe a troop of enemies

Instance Method Summary collapse

Constructor Details

#initializeGame_Troop

Default initializer.



175
176
# File 'docs/00600_Script_RMXP.rb', line 175

def initialize
end

Instance Method Details

#enemiesArray<Game_Enemy>

Returns the list of enemies

Returns:



179
180
# File 'docs/00600_Script_RMXP.rb', line 179

def enemies
end

#setup(troop_id)

Setup the troop with a troop from the database

Parameters:

  • troop_id (Integer)

    the id of the troop in the database



183
184
# File 'docs/00600_Script_RMXP.rb', line 183

def setup(troop_id)
end