src/ai/api/ai_controller.hpp.sq
branchnoai
changeset 11097 6967c52c78c5
parent 10643 970417eef395
--- a/src/ai/api/ai_controller.hpp.sq	Mon Jun 30 10:46:20 2008 +0000
+++ b/src/ai/api/ai_controller.hpp.sq	Mon Jun 30 12:15:10 2008 +0000
@@ -3,8 +3,9 @@
 void SQAIController_Register(Squirrel *engine) {
 	DefSQClass <AIController> SQAIController("AIController");
 	SQAIController.PreRegister(engine);
-	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.DefSQMethod(engine, &AIController::GetTick,               "GetTick",         1, "x");
+	SQAIController.DefSQStaticMethod(engine, &AIController::SetCommandDelay, "SetCommandDelay", 2, "xi");
+	SQAIController.DefSQStaticMethod(engine, &AIController::Sleep,           "Sleep",           2, "xi");
+	SQAIController.DefSQStaticMethod(engine, &AIController::Print,           "Print",           3, "xbs");
 	SQAIController.PostRegister(engine);
 }