src/ai/api/ai_stationlist.hpp
branchnoai
changeset 9745 fb2454d70f37
parent 9670 820b77e19bb3
child 9746 e4ab7ea8d897
equal deleted inserted replaced
9744:7297fcf46e03 9745:fb2454d70f37
    26 };
    26 };
    27 
    27 
    28 /**
    28 /**
    29  * Class that creates a list of stations the vehicles goes to.
    29  * Class that creates a list of stations the vehicles goes to.
    30  */
    30  */
    31 class AIVehicleStationList : public AIAbstractList {
    31 class AIStationList_Vehicle : public AIStationList {
    32 public:
    32 public:
    33 	/**
    33 	/**
    34 	 * The name of the class, needed by several sub-processes.
    34 	 * The name of the class, needed by several sub-processes.
    35 	 */
    35 	 */
    36 	static const char *GetClassName() { return "AIVehicleStationList"; }
    36 	static const char *GetClassName() { return "AIStationList_Vehicle"; }
    37 
    37 
    38 	/**
    38 	/**
    39 	 * The constructor to make a list of stations.
    39 	 * The constructor to make a list of stations.
    40 	 * @param vehicle_id The vehicles to get the list of stations he goes to from.
    40 	 * @param vehicle_id The vehicles to get the list of stations he goes to from.
    41 	 */
    41 	 */
    42 	AIVehicleStationList(VehicleID vehicle_id);
    42 	AIStationList_Vehicle(VehicleID vehicle_id);
    43 };
    43 };
    44 
    44 
    45 #endif /* AI_STATIONLIST_HPP */
    45 #endif /* AI_STATIONLIST_HPP */