Creates a list of waypoints which the vehicle has in its orders. More...
#include <ai_waypointlist.hpp>
Public Member Functions | |
AIWaypointList_Vehicle (VehicleID vehicle_id) | |
Static Public Member Functions | |
static const char * | GetClassName () |
Creates a list of waypoints which the vehicle has in its orders.
Definition at line 36 of file ai_waypointlist.hpp.
AIWaypointList_Vehicle::AIWaypointList_Vehicle | ( | VehicleID | vehicle_id | ) |
vehicle_id | The vehicle to get the list of waypoints he has in its orders from. |
Definition at line 27 of file ai_waypointlist.cpp.
References AIAbstractList::AddItem(), Pool< Titem, Tindex, Tgrowth_step, Tmax_size, Tcache, Tzero >::PoolItem<&_vehicle_pool >::Get(), Vehicle::GetFirstOrder(), AIVehicle::IsValidVehicle(), and Order::next.