Files
match3-unity/Assets/Scripts/Services/Interfaces/IMatchService.cs
2025-12-18 03:01:20 +08:00

14 lines
436 B
C#

using System.Collections.Generic;
using Cysharp.Threading.Tasks;
using UnityEngine;
using Enums;
using Structs;
namespace Services.Interfaces {
public interface IMatchService {
HashSet<Gem> CurrentMatches { get; }
UniTask<List<Vector2Int>> GetMatchPositionsAsync(List<Vector2Int> protectedPositions);
bool MatchesAt(Vector2Int positionToCheck, GemType gemTypeToCheck);
void FindAllMatches();
}
}