author | truebrain |
Tue, 29 Apr 2008 21:34:17 +0000 | |
branch | noai |
changeset 10383 | bda80b3e9c25 |
parent 9782 | e8d8d8894f23 |
child 10643 | 970417eef395 |
permissions | -rw-r--r-- |
#include "ai_controller.hpp" void SQAIController_Register(Squirrel *engine) { DefSQClass <AIControllerSquirrel> SQAIController("AIController"); SQAIController.PreRegister(engine); SQAIController.DefSQMethod(engine, &AIControllerSquirrel::GetTick, "GetTick", 1, "x"); SQAIController.DefSQStaticMethod(engine, &AIControllerSquirrel::Sleep, "Sleep", 2, "xi"); SQAIController.DefSQStaticMethod(engine, &AIControllerSquirrel::Print, "Print", 3, "xbs"); SQAIController.PostRegister(engine); }