(svn r10540) [NoAI] -Add: added AIStationVehicleList, which lists all vehicles that go to a given station
/* $Id$ */
/** @file ai_vehiclelist.hpp list all the vehicles (you own) */
#ifndef AI_VEHICLELIST_HPP
#define AI_VEHICLELIST_HPP
#include "ai_abstractlist.hpp"
/**
* Class that creates a list of vehicles you own.
*/
class AIVehicleList : public AIAbstractList {
public:
/**
* The name of the class, needed by several sub-processes.
*/
static const char *GetClassName() { return "AIVehicleList"; }
/**
* The constructor to make a list of vehicles.
*/
AIVehicleList();
};
/**
* Class that creates a list of vehicles that go to a given station.
*/
class AIStationVehicleList : public AIAbstractList {
public:
/**
* The name of the class, needed by several sub-processes.
*/
static const char *GetClassName() { return "AIStationVehicleList"; }
/**
* The constructor to make a list of vehicles that goes to this station.
* @param station The station to get the list of vehicles that go here from.
*/
AIStationVehicleList(StationID station);
};
#endif /* AI_VEHICLELIST_HPP */