internal void Dispatch(DispatchItem dispatchItem) { if(CanDispatch(dispatchItem)) { dispatchItem.Player.Move(dispatchItem.DispatchDestination); player.ActionCounter.UseAction(dispatchItem.Cost); } }
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); }