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

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

#include <ai_enginelist.hpp>

Inheritance diagram for AIEngineList:
AIAbstractList AIObject SimpleCountedObject

Public Member Functions

 AIEngineList (AIVehicle::VehicleType vehicle_type)

Static Public Member Functions

static const char * GetClassName ()

Detailed Description

Create a list of engines based on a vehicle type.

Definition at line 22 of file ai_enginelist.hpp.


Constructor & Destructor Documentation

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

Definition at line 17 of file ai_enginelist.cpp.

References AIAbstractList::AddItem(), HasBit(), and Pool< Titem, Tindex, Tgrowth_step, Tmax_size, Tcache, Tzero >::PoolItem< Tpool >::index.


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

Generated on Sat Jul 17 18:43:51 2010 for OpenTTD by  doxygen 1.6.1