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