equal
deleted
inserted
replaced
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 |