private void ResetBoard(DifficultyType difficulty) { int[,] boardData = BoardGenerator.CreateBoard(difficulty); board.Init(boardData); board.Scale(ConfigManager.Instance.boardConfig.GetBoard(difficulty).scaleFactor); }
public GameObject[,] GenerateBoard(BoardGenerator boardGen) { return(boardGen.CreateBoard(width, height)); }