(svn r13395) [NoAI] -Fix [API CHANGE]: Rename AIOrder::GetNumberOfORders to AIOrder::GetOrderCount
[NoAI] -Fix [API CHANGE]: Rename AITown::GetNumHouses to AITown::GetHouseCount
-Note: this to be more uniform with the naming of the other Count() functions
#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);
}