예제 #1
0
 internal void Dispatch(DispatchItem dispatchItem)
 {
     if(CanDispatch(dispatchItem))
     {
         dispatchItem.Player.Move(dispatchItem.DispatchDestination);
         player.ActionCounter.UseAction(dispatchItem.Cost);
     }
 }
예제 #2
0
 internal bool CanDispatch(DispatchItem dispatchItem)
 {
     return dispatchItem != null;
 }
 private bool CanDispatch(DispatchItem dpi)
 {
     return actionManager.CanDispatch(dpi);
 }
 private void Dispatch(DispatchItem dpi)
 {
     actionManager.Dispatch(dpi);
     RaiseChangeNotificationRequested(null);
     boardViewModel.PawnViewModel.AnimateDrive(boardViewModel.PathAnimationViewModel.Data);
 }
 private void Dispatch(DispatchItem dpi)
 {
     ActionManager.Dispatch(dpi);
 }