src/ai/api/ai_abstractlist.hpp.sq
branchnoai
changeset 9635 9ee82e091af7
parent 9610 5cebcd43a1ec
child 9664 c5741021bf59
equal deleted inserted replaced
9634:e359d82f0652 9635:9ee82e091af7
    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, 1, "x");
    20 	SQAIAbstractList.AddConstructor<void (AIAbstractList::*)(), 1>(engine, "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");