truelight@9636: /* $Id$ */ truelight@9636: truelight@9636: /** @file ai_stationlist.hpp list all the stations (you own) */ truelight@9636: truelight@9636: #ifndef AI_STATIONLIST_HPP truelight@9636: #define AI_STATIONLIST_HPP truelight@9636: truelight@9636: #include "ai_abstractlist.hpp" truelight@9670: #include "ai_station.hpp" truelight@9636: truelight@9636: /** truelight@9636: * Class that creates a list of stations you own. truelight@9636: */ truelight@9636: class AIStationList : public AIAbstractList { truelight@9636: public: truelight@9669: /** truelight@9636: * The name of the class, needed by several sub-processes. truelight@9636: */ truelight@9636: static const char *GetClassName() { return "AIStationList"; } truelight@9636: truelight@9636: /** truelight@9636: * The constructor to make a list of stations. truelight@9646: * @param type The type of station you want a list of. truelight@9636: */ truelight@9670: AIStationList(AIStation::StationType type); truelight@9636: }; truelight@9636: truelight@9645: /** truelight@9645: * Class that creates a list of stations the vehicles goes to. truelight@9645: */ truelight@9645: class AIVehicleStationList : public AIAbstractList { truelight@9645: public: truelight@9645: /** truelight@9645: * The name of the class, needed by several sub-processes. truelight@9645: */ truelight@9645: static const char *GetClassName() { return "AIVehicleStationList"; } truelight@9645: truelight@9645: /** truelight@9645: * The constructor to make a list of stations. truelight@9646: * @param vehicle_id The vehicles to get the list of stations he goes to from. truelight@9645: */ truelight@9645: AIVehicleStationList(VehicleID vehicle_id); truelight@9645: }; truelight@9645: truelight@9636: #endif /* AI_STATIONLIST_HPP */