Fix Object Instantiating
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Enums;
|
||||
using Models.Interfaces;
|
||||
using Services.Interfaces;
|
||||
using UnityEngine;
|
||||
|
||||
@@ -9,9 +10,9 @@ namespace Services {
|
||||
private List<Gem> currentMatches = new List<Gem>();
|
||||
public List<Gem> CurrentMatches => this.currentMatches;
|
||||
|
||||
private GameBoard gameBoard;
|
||||
private IGameBoard gameBoard;
|
||||
|
||||
public MatchService(GameBoard gameBoard) {
|
||||
public MatchService(IGameBoard gameBoard) {
|
||||
this.gameBoard = gameBoard;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user