Creates a list of vehicles that are in the default group. More...
#include <ai_vehiclelist.hpp>
Public Member Functions | |
AIVehicleList_DefaultGroup (AIVehicle::VehicleType vehicle_type) | |
Static Public Member Functions | |
static const char * | GetClassName () |
Get the name of this class to identify it towards squirrel. |
Creates a list of vehicles that are in the default group.
Definition at line 98 of file ai_vehiclelist.hpp.
AIVehicleList_DefaultGroup::AIVehicleList_DefaultGroup | ( | AIVehicle::VehicleType | vehicle_type | ) |
vehicle_type | The VehicleType to get the list of vehicles for. |
Definition at line 120 of file ai_vehiclelist.cpp.
References _current_company, AIList::AddItem(), FOR_ALL_VEHICLES, AIGroup::GROUP_DEFAULT, Vehicle::group_id, Pool< Titem, Tindex, Tgrowth_step, Tmax_size, Tcache, Tzero >::PoolItem< Tpool >::index, Vehicle::IsPrimaryVehicle(), Vehicle::owner, BaseVehicle::type, and AIVehicle::VT_AIR.
static const char* AIVehicleList_DefaultGroup::GetClassName | ( | ) | [inline, static] |
Get the name of this class to identify it towards squirrel.
Reimplemented from AIList.
Definition at line 101 of file ai_vehiclelist.hpp.