src/ai/api/ai_controller.hpp.sq
author rubidium
Thu, 19 Jun 2008 18:09:29 +0000
branchnoai
changeset 11029 776c7cc8bda5
parent 10643 970417eef395
child 11097 6967c52c78c5
permissions -rw-r--r--
(svn r13585) [NoAI] -Add: possibility to get information/perform order changes based on the current order of a vehicle.
#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);
}