(svn r12220) [NoAI] -Fix: minor type in AIVehicleStation, and missing security check
/* $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_id);
};
#endif /* AI_VEHICLELIST_HPP */