src/ai/api/ai_controller.hpp.sq
author rubidium
Sat, 14 Apr 2007 21:57:44 +0000
branchnoai
changeset 9596 8af5a1399842
child 9743 4c44aa6a8f43
permissions -rw-r--r--
(svn r9629) [NoAI] -Codechange: move the squirrel export functions out of the API header files.
#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);
}