src/ai/api/ai_controller.hpp.sq
author rubidium
Sun, 03 Feb 2008 20:17:54 +0000
branchnoai
changeset 9724 b39bc69bb2f2
parent 9596 8af5a1399842
child 9743 4c44aa6a8f43
permissions -rw-r--r--
(svn r12051) [NoAI] -Sync: with trunk (r11795:12050).
#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);
}