Beispiel #1
0
 public bool ExecuteCommand(CharacterCommand command)
 {
     if (MotionCommander == null)
     {
         return(false);
     }
     return(MotionCommander.ExecuteCommand(command));
 }
 private void FinishCommand(Motion motion)
 {
     if (Commander)
     {
         Commander.ExecuteCommand(CharacterCommand.CC_Stop);
     }
     if (OnFinishDelegate != null)
     {
         OnFinishDelegate(this, motion);
     }
 }