src/ai/api/ai_controller.hpp.sq
branchnoai
changeset 9596 8af5a1399842
child 9743 4c44aa6a8f43
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/ai/api/ai_controller.hpp.sq	Sat Apr 14 21:57:44 2007 +0000
@@ -0,0 +1,9 @@
+#include "ai_controller.hpp"
+
+void SQAIControllerRegister(Squirrel *engine) {
+	DefSQClass <AIControllerSquirrel> SQAIController("AIController");
+	SQAIController.PreRegister(engine);
+	SQAIController.DefSQMethod(engine, &AIControllerSquirrel::GetTick, "GetTick");
+	SQAIController.DefSQMethod(engine, &AIControllerSquirrel::Sleep,   "Sleep");
+	SQAIController.PostRegister(engine);
+}