Skip to content

Commit

Permalink
Refactoring.
Browse files Browse the repository at this point in the history
  • Loading branch information
RUBIUS\chebanovdd committed Apr 20, 2022
1 parent df1189e commit 381a73b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions samples/Unity.Match3/Assets/Scripts/AppContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ private IGameBoardSolver<IUnityGridSlot> GetGameBoardSolver(IUnityGameBoardRende
return new GameBoardSolver<IUnityGridSlot>(GetSequenceDetectors(), GetSpecialItemDetectors(gameBoardRenderer));
}

private static ISequenceDetector<IUnityGridSlot>[] GetSequenceDetectors()
private ISequenceDetector<IUnityGridSlot>[] GetSequenceDetectors()
{
return new ISequenceDetector<IUnityGridSlot>[]
{
Expand All @@ -89,8 +89,7 @@ private static ISequenceDetector<IUnityGridSlot>[] GetSequenceDetectors()
};
}

private static ISpecialItemDetector<IUnityGridSlot>[] GetSpecialItemDetectors(
IUnityGameBoardRenderer gameBoardRenderer)
private ISpecialItemDetector<IUnityGridSlot>[] GetSpecialItemDetectors(IUnityGameBoardRenderer gameBoardRenderer)
{
return new ISpecialItemDetector<IUnityGridSlot>[]
{
Expand Down

0 comments on commit 381a73b

Please sign in to comment.