Public Member Functions

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

Creates a list of waypoints which the vehicle has in its orders. More...

#include <script_waypointlist.hpp>

Inheritance diagram for ScriptWaypointList_Vehicle:
ScriptList ScriptObject SimpleCountedObject

Public Member Functions

 ScriptWaypointList_Vehicle (VehicleID vehicle_id)

Detailed Description

Creates a list of waypoints which the vehicle has in its orders.

ai

Definition at line 36 of file script_waypointlist.hpp.


Constructor & Destructor Documentation

ScriptWaypointList_Vehicle::ScriptWaypointList_Vehicle ( VehicleID  vehicle_id  ) 
Parameters:
vehicle_id The vehicle to get the list of waypoints he has in its orders from.

Definition at line 28 of file script_waypointlist.cpp.

References ScriptList::AddItem(), Pool< Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero >::PoolItem<&_vehicle_pool >::Get(), Vehicle::GetFirstOrder(), ScriptVehicle::IsValidVehicle(), and Order::next.


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