equal
deleted
inserted
replaced
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); |