src/ai/core/ai_controller.hpp
branchnoai
changeset 9404 ef9e171617a3
parent 9388 032008c3f6e3
child 9422 33efcc5f1b09
--- a/src/ai/core/ai_controller.hpp	Thu Mar 15 13:28:11 2007 +0000
+++ b/src/ai/core/ai_controller.hpp	Thu Mar 15 13:36:45 2007 +0000
@@ -35,3 +35,12 @@
 };
 
 #endif /* AI_CONTROLLER_HPP */
+
+#ifdef SQUIRREL_CLASS
+void SQAIControllerRegister(SquirrelEngine *engine) {
+	DefSQClass <AIControllerSquirrel> SQAIController("AIController");
+	SQAIController.PreRegister(engine);
+	SQAIController.DefSQFunction(engine, &AIControllerSquirrel::GetTick, "GetTick");
+	SQAIController.PostRegister(engine);
+}
+#endif /* SQUIRREL_CLASS */