예제 #1
0
 /// <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
 /// <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;
 }