1
/* $Id: ai_controller.hpp.sq 15462 2009-02-13 00:18:56Z yexo $ */
1
/* $Id: ai_controller.hpp.sq 16272 2009-05-10 21:26:46Z rubidium $ */
3
3
#include "ai_controller.hpp"
5
5
void SQAIController_Register(Squirrel *engine) {
6
6
DefSQClass <AIController> SQAIController("AIController");
7
7
SQAIController.PreRegister(engine);
8
SQAIController.DefSQStaticMethod(engine, &AIController::GetTick, "GetTick", 1, "?");
9
SQAIController.DefSQStaticMethod(engine, &AIController::SetCommandDelay, "SetCommandDelay", 2, "?i");
10
SQAIController.DefSQStaticMethod(engine, &AIController::Sleep, "Sleep", 2, "?i");
11
SQAIController.DefSQStaticMethod(engine, &AIController::GetSetting, "GetSetting", 2, "?s");
12
SQAIController.DefSQStaticMethod(engine, &AIController::Print, "Print", 3, "?bs");
8
SQAIController.DefSQStaticMethod(engine, &AIController::GetTick, "GetTick", 1, ".");
9
SQAIController.DefSQStaticMethod(engine, &AIController::SetCommandDelay, "SetCommandDelay", 2, ".i");
10
SQAIController.DefSQStaticMethod(engine, &AIController::Sleep, "Sleep", 2, ".i");
11
SQAIController.DefSQStaticMethod(engine, &AIController::GetSetting, "GetSetting", 2, ".s");
12
SQAIController.DefSQStaticMethod(engine, &AIController::GetVersion, "GetVersion", 1, ".");
13
SQAIController.DefSQStaticMethod(engine, &AIController::Print, "Print", 3, ".bs");
13
14
SQAIController.PostRegister(engine);