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