src/ai/api/ai_stationlist.hpp
author truebrain
Sat, 23 Feb 2008 14:49:31 +0000
branchnoai
changeset 9743 4c44aa6a8f43
parent 9670 820b77e19bb3
child 9745 fb2454d70f37
permissions -rw-r--r--
(svn r12223) [NoAI] -Fix r12221: look mom, I can break compilation!
/* $Id$ */

/** @file ai_stationlist.hpp list all the stations (you own) */

#ifndef AI_STATIONLIST_HPP
#define AI_STATIONLIST_HPP

#include "ai_abstractlist.hpp"
#include "ai_station.hpp"

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

	/**
	 * The constructor to make a list of stations.
	 * @param type The type of station you want a list of.
	 */
	AIStationList(AIStation::StationType type);
};

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

	/**
	 * The constructor to make a list of stations.
	 * @param vehicle_id The vehicles to get the list of stations he goes to from.
	 */
	AIVehicleStationList(VehicleID vehicle_id);
};

#endif /* AI_STATIONLIST_HPP */