Implement Bombs
This commit is contained in:
@@ -6,14 +6,7 @@ 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);
|
||||
|
||||
UniTask<bool> TrySwap(Vector2Int from, Vector2Int to);
|
||||
}
|
||||
}
|
||||
@@ -3,7 +3,6 @@ using UnityEngine;
|
||||
|
||||
namespace Services.Interfaces {
|
||||
public interface IInputService {
|
||||
event Action<Vector2> OnPointerDown;
|
||||
event Action<Vector2> OnPointerUp;
|
||||
event Action<Vector2Int, Vector2Int> OnSwapRequested;
|
||||
}
|
||||
}
|
||||
@@ -7,7 +7,6 @@ namespace Services.Interfaces {
|
||||
List<Gem> CurrentMatches { get; }
|
||||
bool MatchesAt(Vector2Int positionToCheck, GemType gemTypeToCheck);
|
||||
void FindAllMatches();
|
||||
void CheckForBombs();
|
||||
void MarkBombArea(Vector2Int bombPosition, int blastSize);
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,9 @@
|
||||
using System;
|
||||
|
||||
namespace Services.Interfaces {
|
||||
public interface IScoreService {
|
||||
event Action<int> OnScoreChanged;
|
||||
int Score { get; }
|
||||
void ScoreCheck(int value);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user