src/ai/api/ai_vehiclelist.hpp
author truebrain
Sat, 23 Feb 2008 15:16:21 +0000
branchnoai
changeset 9745 fb2454d70f37
parent 9744 7297fcf46e03
child 9746 e4ab7ea8d897
permissions -rw-r--r--
(svn r12225) [NoAI] -Change [API CHANGE]: AIStationVehicleList -> AIVehicleList_Station (WATCH THE NAMES CAREFULLY!)
[NoAI] -Change [API CHANGE]: AIVehicleStationList -> AIStationList_Vehicle (WATCH THE NAMES CAREFULLY!)
/* $Id$ */

/** @file ai_vehiclelist.hpp list all the vehicles (you own) */

#ifndef AI_VEHICLELIST_HPP
#define AI_VEHICLELIST_HPP

#include "ai_abstractlist.hpp"

/**
 * Class that creates a list of vehicles you own.
 */
class AIVehicleList : public AIAbstractList {
public:
	/**
	 * The name of the class, needed by several sub-processes.
	 */
	static const char *GetClassName() { return "AIVehicleList"; }

	/**
	 * The constructor to make a list of vehicles.
	 */
	AIVehicleList();
};

/**
 * Class that creates a list of vehicles that go to a given station.
 */
class AIVehicleList_Station : public AIVehicleList {
public:
	/**
	 * The name of the class, needed by several sub-processes.
	 */
	static const char *GetClassName() { return "AIVehicleList_Station"; }

	/**
	 * The constructor to make a list of vehicles that goes to this station.
	 * @param station_id The station to get the list of vehicles that go here from.
	 */
	AIVehicleList_Station(StationID station_id);
};

#endif /* AI_VEHICLELIST_HPP */