using System.Collections.Generic; using Cysharp.Threading.Tasks; using UnityEngine; using Enums; namespace Services.Interfaces { public interface IMatchService { HashSet CurrentMatches { get; } /// /// Get positions of all matches that are not protected. /// /// /// Protected positions, bombs that we don't want to destroy. /// /// UniTask> GetMatchPositionsAsync(List protectedPositions); /// /// Checks if there are any matches at the given position and type. /// /// /// Position on the gameBoard to check. /// /// /// Type of gem to check. /// /// bool MatchesAt(Vector2Int positionToCheck, GemType gemTypeToCheck); void FindAllMatches(); } }