src/ai/api/ai_tilelist.hpp.sq
branchnoai
changeset 9635 9ee82e091af7
parent 9610 5cebcd43a1ec
child 9673 ee4f133c84ec
equal deleted inserted replaced
9634:e359d82f0652 9635:9ee82e091af7
     9 }; // namespace SQConvert
     9 }; // namespace SQConvert
    10 
    10 
    11 void SQAITileListRegister(Squirrel *engine) {
    11 void SQAITileListRegister(Squirrel *engine) {
    12 	DefSQClass <AITileList> SQAITileList("AITileList");
    12 	DefSQClass <AITileList> SQAITileList("AITileList");
    13 	SQAITileList.PreRegister(engine, "AIAbstractList");
    13 	SQAITileList.PreRegister(engine, "AIAbstractList");
    14 	SQAITileList.AddConstructor<void (AITileList::*)()>(engine, 1, "x");
    14 	SQAITileList.AddConstructor<void (AITileList::*)(), 1>(engine, "x");
    15 
    15 
    16 	SQAITileList.DefSQStaticMethod(engine, &AITileList::GetClassName, "GetClassName", 1, "x");
    16 	SQAITileList.DefSQStaticMethod(engine, &AITileList::GetClassName, "GetClassName", 1, "x");
    17 
    17 
    18 	SQAITileList.DefSQMethod(engine, &AITileList::AddRectangle,    "AddRectangle",    3, "xii");
    18 	SQAITileList.DefSQMethod(engine, &AITileList::AddRectangle,    "AddRectangle",    3, "xii");
    19 	SQAITileList.DefSQMethod(engine, &AITileList::AddTile,         "AddTile",         2, "xi");
    19 	SQAITileList.DefSQMethod(engine, &AITileList::AddTile,         "AddTile",         2, "xi");