Public Member Functions

ScriptEngineList Class Reference
[Classes that create a list of items.]

Create a list of engines based on a vehicle type. More...

#include <script_enginelist.hpp>

Inheritance diagram for ScriptEngineList:
ScriptList ScriptObject SimpleCountedObject

Public Member Functions

 ScriptEngineList (ScriptVehicle::VehicleType vehicle_type)

Detailed Description

Create a list of engines based on a vehicle type.

ai

Definition at line 23 of file script_enginelist.hpp.


Constructor & Destructor Documentation

ScriptEngineList::ScriptEngineList ( ScriptVehicle::VehicleType  vehicle_type  ) 
Parameters:
vehicle_type The type of vehicle to make a list of engines for.

Definition at line 18 of file script_enginelist.cpp.

References _current_company, ScriptList::AddItem(), Engine::company_avail, HasBit(), and Pool< Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero >::PoolItem< Tpool >::index.


The documentation for this class was generated from the following files: