Skip to content

Commit 98710e4

Browse files
author
RUBIUS\chebanovdd
committed
Merge branch 'match3_sdk' of https://github.com/ChebanovDD/Match3-SDK into match3_sdk
2 parents 4ae55c3 + 2aab97d commit 98710e4

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

README.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -556,23 +556,6 @@ public class StoneState : StatefulGridTile
556556
To respond to any changes in one of the neighbour tiles, we have to implement an `ISpecialItemDetector<TGridSlot>` interface. Create a `StoneItemDetector` class and inherit from the `ISpecialItemDetector<TGridSlot>`.
557557

558558
```csharp
559-
public class StoneItemDetector : ISpecialItemDetector<IUnityGridSlot>
560-
{
561-
private readonly GridPosition[] _lookupDirections;
562-
private readonly IUnityGameBoardRenderer _gameBoardRenderer;
563-
564-
public StoneItemDetector(IUnityGameBoardRenderer gameBoardRenderer)
565-
{
566-
_gameBoardRenderer = gameBoardRenderer;
567-
_lookupDirections = new[]
568-
{
569-
GridPosition.Up,
570-
GridPosition.Down,
571-
GridPosition.Left,
572-
GridPosition.Right
573-
};
574-
}
575-
576559
public class StoneItemDetector : ISpecialItemDetector<IUnityGridSlot>
577560
{
578561
private readonly GridPosition[] _lookupDirections;

0 commit comments

Comments
 (0)