src/ai/api/ai_controller.hpp.sq
author truebrain
Fri, 23 May 2008 08:52:29 +0000
branchnoai
changeset 10674 542470cee8a2
parent 10643 970417eef395
child 11097 6967c52c78c5
permissions -rw-r--r--
(svn r13218) [NoAI] -Add: added a [S/E/P/W/I] in front of DEBUG messages from AILog, to indicate the level of message (the one that goes to the stdout) (request by Mchl)
#include "ai_controller.hpp"

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.PostRegister(engine);
}