private void UseCommand() { // MW:TODO make it generic MyAiCommandBehavior tmpCommand = new MyAiCommandBehavior(); tmpCommand.InitCommand(CommandDefinition); tmpCommand.ActivateCommand(); }
private void UseCommand() { MyAiCommandBehavior behavior1 = new MyAiCommandBehavior(); behavior1.InitCommand(this.CommandDefinition); behavior1.ActivateCommand(); }