public Game(Difficulty difficulty, List <int> intList = null) : this() { if (intList != null) { SudokuMatrix = new SudokuMatrix(difficulty, intList); } else { SudokuMatrix.Difficulty = difficulty; } SudokuMatrix.SetDifficulty(); }
public Game( User user, SudokuMatrix matrix, Difficulty difficulty, int appId = 0) : this() { User = user; SudokuMatrix = matrix; SudokuMatrix.Difficulty = difficulty; SudokuMatrix.SetDifficulty(SudokuMatrix.Difficulty); AppId = appId; User.Games.Add(this); }