src/ai/api/ai_vehiclelist.hpp
branchnoai
changeset 9816 35e866676c00
parent 9778 38560cd27070
child 9829 80fbe02a4184
equal deleted inserted replaced
9815:efac4d882b25 9816:35e866676c00
    14  */
    14  */
    15 class AIVehicleList : public AIAbstractList {
    15 class AIVehicleList : public AIAbstractList {
    16 public:
    16 public:
    17 	static const char *GetClassName() { return "AIVehicleList"; }
    17 	static const char *GetClassName() { return "AIVehicleList"; }
    18 	AIVehicleList();
    18 	AIVehicleList();
    19 
       
    20 private:
       
    21 	const char *GetListName() const { return "AIVehicleList"; }
       
    22 };
    19 };
    23 
    20 
    24 /**
    21 /**
    25  * Creates a list of vehicles that have orders to a given station.
    22  * Creates a list of vehicles that have orders to a given station.
    26  * @ingroup AIVehicleList
    23  * @ingroup AIVehicleList
    31 
    28 
    32 	/**
    29 	/**
    33 	 * @param station_id The station to get the list of vehicles that have orders to him from.
    30 	 * @param station_id The station to get the list of vehicles that have orders to him from.
    34 	 */
    31 	 */
    35 	AIVehicleList_Station(StationID station_id);
    32 	AIVehicleList_Station(StationID station_id);
    36 
       
    37 private:
       
    38 	const char *GetListName() const { return "AIVehicleList"; }
       
    39 };
    33 };
    40 
    34 
    41 #endif /* AI_VEHICLELIST_HPP */
    35 #endif /* AI_VEHICLELIST_HPP */