(svn r12233) [NoAI] -Fix: document that AITileList and AIList start empty on creation (request by Progman)
/* $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 empty list of integers 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.
* @param value the value to assign.
*/
void AddItem(int32 item, int32 value);
/**
* Change the value of an item in the list.
* @param item the item to change
* @param value the value to assign.
*/
void ChangeItem(int32 item, int32 value);
/**
* Remove the item from the list.
* @param item the item to remove.
*/
void RemoveItem(int32 item);
};
#endif /* AI_LIST_HPP */