25 lines
495 B
C#
25 lines
495 B
C#
using UnityEngine;
|
|
|
|
public class CheckResult
|
|
{
|
|
public bool end;
|
|
public bool draw;
|
|
public int[] indexesRow;
|
|
public int[] indexesColumn;
|
|
|
|
public CheckResult(bool endgame, bool isDraw)
|
|
{
|
|
end = endgame;
|
|
draw = isDraw;
|
|
}
|
|
public CheckResult(bool result, bool isDraw, int[] indexesRow, int[] indexesColumn)
|
|
{
|
|
end = result;
|
|
draw = isDraw;
|
|
this.indexesRow = indexesRow;
|
|
this.indexesColumn = indexesColumn;
|
|
}
|
|
|
|
|
|
}
|