src/ai/api/ai_controller.hpp.sq
branchnoai
changeset 10643 970417eef395
parent 9782 e8d8d8894f23
child 11097 6967c52c78c5
--- a/src/ai/api/ai_controller.hpp.sq	Mon May 19 14:06:55 2008 +0000
+++ b/src/ai/api/ai_controller.hpp.sq	Mon May 19 14:11:21 2008 +0000
@@ -1,10 +1,10 @@
 #include "ai_controller.hpp"
 
 void SQAIController_Register(Squirrel *engine) {
-	DefSQClass <AIControllerSquirrel> SQAIController("AIController");
+	DefSQClass <AIController> SQAIController("AIController");
 	SQAIController.PreRegister(engine);
-	SQAIController.DefSQMethod(engine, &AIControllerSquirrel::GetTick, "GetTick", 1, "x");
-	SQAIController.DefSQStaticMethod(engine, &AIControllerSquirrel::Sleep, "Sleep", 2, "xi");
-	SQAIController.DefSQStaticMethod(engine, &AIControllerSquirrel::Print, "Print", 3, "xbs");
+	SQAIController.DefSQMethod(engine, &AIController::GetTick, "GetTick", 1, "x");
+	SQAIController.DefSQStaticMethod(engine, &AIController::Sleep, "Sleep", 2, "xi");
+	SQAIController.DefSQStaticMethod(engine, &AIController::Print, "Print", 3, "xbs");
 	SQAIController.PostRegister(engine);
 }