Esempio n. 1
0
		public Board Clone()
		{
			var clone = new Board(Width, Height);
			for (int x = 0; x < Width; x++)
				for (int y = 0; y < Height; y++)
					clone.colors[x, y] = colors[x, y];
			return clone;
		}
		public AvailableColorFinder(Board board, Vector2D[] homeSquares)
		{
			this.board = board;
			this.homeSquares = homeSquares;
			homeColors = new Color[homeSquares.Length];
		}