chip-game/Assets/Scripts/CheckResult.cs

14 lines
350 B
C#

using System.Collections.Generic;
public class CheckResult
{
public bool End;
public bool Draw;
public HashSet<(int row, int col)> WinningIndexes;
public CheckResult(bool end, bool isDraw, HashSet<(int row, int col)> winningIndexes)
{
End = end;
Draw = isDraw;
WinningIndexes = winningIndexes;
}
}