/// <summary> /// /// </summary> public void Clear() { mTurns.Clear(); mField.Fill(Side.Nobody); mBoundingBox = new Area(new Position(short.MaxValue, short.MaxValue), new Position(short.MinValue, short.MinValue)); CurrentPlayer = Side.Cross; mWin = false; }
/// <summary> /// /// </summary> public Board() { mField = new Storage<Side>(100, Side.Nobody); mBoundingBox = new Area(new Position(short.MaxValue, short.MaxValue), new Position(short.MinValue, short.MinValue)); CurrentPlayer = Side.Cross; }