Reversi.ReversiPanel.UpdateBoard C# (CSharp) Method

UpdateBoard() public method

public UpdateBoard ( ) : void
return void
		public void UpdateBoard()
		{
			for(int x=0; x<board.Width; ++x)
				for(int y=0; y<board.Height; ++y)
				{
					ReversiCell cell = this.cells[x,y];
					cell.SetColor(board[x, y]);
				}
			Invalidate();
		}