Create All Needed Scripts
This commit is contained in:
19
Assets/Scripts/Services/Interfaces/IGameBoardService.cs
Normal file
19
Assets/Scripts/Services/Interfaces/IGameBoardService.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using Cysharp.Threading.Tasks;
|
||||
using Enums;
|
||||
using UnityEngine;
|
||||
using Views;
|
||||
|
||||
namespace Services.Interfaces {
|
||||
public interface IGameBoardService {
|
||||
void Setup();
|
||||
void SpawnGem(Vector2Int position, GemView gemPrefab, GemType gemType);
|
||||
void SetGem(Vector2Int position, Gem gem);
|
||||
Gem GetGem(Vector2Int position);
|
||||
void DestroyMatches();
|
||||
UniTask MoveGemsDown();
|
||||
UniTask FillBoard();
|
||||
void RefillBoard();
|
||||
void CheckMisplacedGems();
|
||||
void DestroyMatchedGems(Vector2Int position);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user