src/ai/api/ai_list.hpp
author rubidium
Sat, 14 Apr 2007 21:57:44 +0000
branchnoai
changeset 9596 8af5a1399842
parent 9594 5009a30f320a
child 9664 c5741021bf59
permissions -rw-r--r--
(svn r9629) [NoAI] -Codechange: move the squirrel export functions out of the API header files.
/* $Id$ */

/** @file ai_list.hpp a simple list which you can manipulate */

#ifndef AI_LIST_HPP
#define AI_LIST_HPP

#include "ai_abstractlist.hpp"

/**
 * Class that creates a simple list of tiles which you can manipulate.
 */
class AIList : public AIAbstractList {
public:
	/**
	 * The name of the class, needed by several sub-processes.
	 */
	static const char *GetClassName() { return "AIList"; }

public:
	/**
	 * Add an item to the list.
	 * @param item the item to add.
	 */
	void AddItem(int32 item);

	/**
	 * Remove the item from the list.
	 * @param item the item to remove.
	 */
	void RemoveItem(int32 item);
};

#endif /* AI_LIST_HPP */