src/ai/api/ai_list.cpp
branchnoai
changeset 9664 c5741021bf59
parent 9593 012f29f59906
child 9820 8c116d4c6033
equal deleted inserted replaced
9663:f854f05bbbce 9664:c5741021bf59
     1 #include "ai_list.hpp"
     1 #include "ai_list.hpp"
     2 
     2 
     3 void AIList::AddItem(int32 item)
     3 void AIList::AddItem(int32 item, int32 value)
     4 {
     4 {
     5 	AIAbstractList::AddItem(item);
     5 	AIAbstractList::AddItem(item);
       
     6 	this->SetValue(item, value);
       
     7 }
       
     8 
       
     9 void AIList::ChangeItem(int32 item, int32 value)
       
    10 {
       
    11 	this->SetValue(item, value);
     6 }
    12 }
     7 
    13 
     8 void AIList::RemoveItem(int32 item)
    14 void AIList::RemoveItem(int32 item)
     9 {
    15 {
    10 	AIAbstractList::RemoveItem(item);
    16 	AIAbstractList::RemoveItem(item);