コード例 #1
0
ファイル: Board.cs プロジェクト: peter-popov/xomango
 /// <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;
 }
コード例 #2
0
ファイル: Board.cs プロジェクト: peter-popov/xomango
 /// <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;
 }