public void SwapAnimals(Swap swap) { InputManager.MouseEnabled = false; if (!Level.IsPossibleSwap(swap)) { View.InvalidSwapAnimation.Play(View, args => InputManager.MouseEnabled = true, swap); return; } View.HideSuggestion(); Level.Swap(swap); View.ValidSwapAnimation.Play(View, HandleMatches, swap); }
public void ShowSuggestion(Swap swap) => HighlightedMove = swap;