コード例 #1
0
 private void UseCommand()
 {
     // MW:TODO make it generic
     MyAiCommandBehavior tmpCommand = new MyAiCommandBehavior();
     tmpCommand.InitCommand(CommandDefinition);
     tmpCommand.ActivateCommand();
 }
コード例 #2
0
        private void UseCommand()
        {
            MyAiCommandBehavior behavior1 = new MyAiCommandBehavior();

            behavior1.InitCommand(this.CommandDefinition);
            behavior1.ActivateCommand();
        }