Reversi.ReversiBoard.CheckAll C# (CSharp) Method

CheckAll() public method

盤面に置けるますがあるかどうかを調べる
public CheckAll ( ReversiColor color ) : bool
color ReversiColor
return bool
		public bool CheckAll(ReversiColor color)
		{
			for(int x=1; x<=this.width; ++x)
				for(int y=1; y<=this.height; ++y)
					if(Check(x,y, color)) return true;

			return false;
		}