1
/* $Id: ai_vehiclelist.hpp 15614 2009-03-04 22:37:25Z yexo $ */
3
/** @file ai_vehiclelist.hpp List all the vehicles (you own). */
5
#ifndef AI_VEHICLELIST_HPP
6
#define AI_VEHICLELIST_HPP
8
#include "ai_abstractlist.hpp"
9
#include "ai_vehicle.hpp"
12
* Creates a list of vehicles of which you are the owner.
15
class AIVehicleList : public AIAbstractList {
17
static const char *GetClassName() { return "AIVehicleList"; }
22
* Creates a list of vehicles that have orders to a given station.
25
class AIVehicleList_Station : public AIAbstractList {
27
static const char *GetClassName() { return "AIVehicleList_Station"; }
30
* @param station_id The station to get the list of vehicles that have orders to him from.
32
AIVehicleList_Station(StationID station_id);
36
* Creates a list of vehicles that share orders.
39
class AIVehicleList_SharedOrders : public AIAbstractList {
41
static const char *GetClassName() { return "AIVehicleList_SharedOrders"; }
44
* @param station_id The vehicle that the rest shared orders with.
46
AIVehicleList_SharedOrders(VehicleID vehicle_id);
50
* Creates a list of vehicles that are in a group.
53
class AIVehicleList_Group : public AIAbstractList {
55
static const char *GetClassName() { return "AIVehicleList_Group"; }
58
* @param group_id The ID of the group the vehicles are in.
60
AIVehicleList_Group(GroupID group_id);
64
* Creates a list of vehicles that are in the default group.
67
class AIVehicleList_DefaultGroup : public AIAbstractList {
69
static const char *GetClassName() { return "AIVehicleList_DefaultGroup"; }
72
* @param vehicle_type The VehicleType to get the list of vehicles for.
74
AIVehicleList_DefaultGroup(AIVehicle::VehicleType vehicle_type);
77
#endif /* AI_VEHICLELIST_HPP */