src/ai/api/ai_controller.hpp.sq
branchnoai
changeset 9743 4c44aa6a8f43
parent 9596 8af5a1399842
child 9782 e8d8d8894f23
equal deleted inserted replaced
9742:75f4fded70ae 9743:4c44aa6a8f43
     1 #include "ai_controller.hpp"
     1 #include "ai_controller.hpp"
     2 
     2 
     3 void SQAIControllerRegister(Squirrel *engine) {
     3 void SQAIController_Register(Squirrel *engine) {
     4 	DefSQClass <AIControllerSquirrel> SQAIController("AIController");
     4 	DefSQClass <AIControllerSquirrel> SQAIController("AIController");
     5 	SQAIController.PreRegister(engine);
     5 	SQAIController.PreRegister(engine);
     6 	SQAIController.DefSQMethod(engine, &AIControllerSquirrel::GetTick, "GetTick");
     6 	SQAIController.DefSQMethod(engine, &AIControllerSquirrel::GetTick, "GetTick");
     7 	SQAIController.DefSQMethod(engine, &AIControllerSquirrel::Sleep,   "Sleep");
     7 	SQAIController.DefSQMethod(engine, &AIControllerSquirrel::Sleep,   "Sleep");
     8 	SQAIController.PostRegister(engine);
     8 	SQAIController.PostRegister(engine);