src/ai/api/ai_abstractlist.hpp.sq
branchnoai
changeset 9610 5cebcd43a1ec
parent 9609 f0dbf5850145
child 9635 9ee82e091af7
equal deleted inserted replaced
9609:f0dbf5850145 9610:5cebcd43a1ec
    15 }; // namespace SQConvert
    15 }; // namespace SQConvert
    16 
    16 
    17 void SQAIAbstractListRegister(Squirrel *engine) {
    17 void SQAIAbstractListRegister(Squirrel *engine) {
    18 	DefSQClass <AIAbstractList> SQAIAbstractList("AIAbstractList");
    18 	DefSQClass <AIAbstractList> SQAIAbstractList("AIAbstractList");
    19 	SQAIAbstractList.PreRegister(engine);
    19 	SQAIAbstractList.PreRegister(engine);
    20 	SQAIAbstractList.AddConstructor<void (AIAbstractList::*)()>(engine);
    20 	SQAIAbstractList.AddConstructor<void (AIAbstractList::*)()>(engine, 1, "x");
    21 
    21 
    22 	SQAIAbstractList.DefSQStaticMethod(engine, &AIAbstractList::GetClassName, "GetClassName", 1, "x");
    22 	SQAIAbstractList.DefSQStaticMethod(engine, &AIAbstractList::GetClassName, "GetClassName", 1, "x");
    23 
    23 
    24 	SQAIAbstractList.DefSQMethod(engine, &AIAbstractList::Clear,              "Clear",              1, "x");
    24 	SQAIAbstractList.DefSQMethod(engine, &AIAbstractList::Clear,              "Clear",              1, "x");
    25 	SQAIAbstractList.DefSQMethod(engine, &AIAbstractList::HasItem,            "HasItem",            2, "xi");
    25 	SQAIAbstractList.DefSQMethod(engine, &AIAbstractList::HasItem,            "HasItem",            2, "xi");