truelight@9636: /* $Id$ */ truelight@9636: truebrain@9829: /** @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: /** truebrain@9778: * Creates a list of stations of which you are the owner. truebrain@9829: * @ingroup AIList truelight@9636: */ truelight@9636: class AIStationList : public AIAbstractList { truelight@9636: public: truelight@9636: static const char *GetClassName() { return "AIStationList"; } truelight@9636: truelight@9636: /** truebrain@9778: * @param station_type The type of station to make a list of stations for. truelight@9636: */ truebrain@9778: AIStationList(AIStation::StationType station_type); truelight@9636: }; truelight@9636: truelight@9645: /** truebrain@9778: * Creates a list of stations which the vehicle has in its orders. truebrain@9829: * @ingroup AIList truelight@9645: */ truebrain@9746: class AIStationList_Vehicle : public AIAbstractList { truelight@9645: public: truebrain@9745: static const char *GetClassName() { return "AIStationList_Vehicle"; } truelight@9645: truelight@9645: /** truebrain@9778: * @param vehicle_id The vehicle to get the list of stations he has in its orders from. truelight@9645: */ truebrain@9745: AIStationList_Vehicle(VehicleID vehicle_id); truelight@9645: }; truelight@9645: truelight@9636: #endif /* AI_STATIONLIST_HPP */