src/ai/api/ai_settings.hpp
branchnoai
changeset 9530 5b93bc87cc5e
parent 9529 5f26f4bc574b
child 9532 539c48d64eea
equal deleted inserted replaced
9529:5f26f4bc574b 9530:5b93bc87cc5e
    39 void SQAISettingsRegister(Squirrel *engine) {
    39 void SQAISettingsRegister(Squirrel *engine) {
    40 	DefSQClass <AISettings> SQAISettings("AISettings");
    40 	DefSQClass <AISettings> SQAISettings("AISettings");
    41 	SQAISettings.PreRegister(engine);
    41 	SQAISettings.PreRegister(engine);
    42 	SQAISettings.AddConstructor(engine);
    42 	SQAISettings.AddConstructor(engine);
    43 
    43 
    44 	SQAISettings.DefSQFunction(engine, &AISettings::SetCommandDelay, "SetCommandDelay");
    44 	SQAISettings.DefSQMethod(engine, &AISettings::SetCommandDelay, "SetCommandDelay");
    45 
    45 
    46 	SQAISettings.PostRegister(engine);
    46 	SQAISettings.PostRegister(engine);
    47 }
    47 }
    48 #endif /* DEFINE_SQUIRREL_CLASS */
    48 #endif /* DEFINE_SQUIRREL_CLASS */
    49 
    49