Creates a list of vehicles that share orders. More...
#include <ai_vehiclelist.hpp>
Public Member Functions | |
AIVehicleList_SharedOrders (VehicleID vehicle_id) | |
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 share orders.
Definition at line 68 of file ai_vehiclelist.hpp.
AIVehicleList_SharedOrders::AIVehicleList_SharedOrders | ( | VehicleID | vehicle_id | ) |
vehicle_id | The vehicle that the rest shared orders with. |
Definition at line 98 of file ai_vehiclelist.cpp.
References AIList::AddItem(), Pool< Titem, Tindex, Tgrowth_step, Tmax_size, Tcache, Tzero >::PoolItem<&_vehicle_pool >::Get(), Pool< Titem, Tindex, Tgrowth_step, Tmax_size, Tcache, Tzero >::PoolItem< Tpool >::index, AIVehicle::IsValidVehicle(), and Vehicle::NextShared().
static const char* AIVehicleList_SharedOrders::GetClassName | ( | ) | [inline, static] |
Get the name of this class to identify it towards squirrel.
Reimplemented from AIList.
Definition at line 71 of file ai_vehiclelist.hpp.