bool BoardAnalyzer::hasExchangePatternOnLeftSquare()

in str/apps/src/BoardAnalyzer.cpp [40:57]


bool BoardAnalyzer::hasExchangePatternOnLeftSquare()
{
	bool isExchangePattern = false;
	
	// �����ʒu�̒��ŁA�����l�p�`��ɂ�����̂��擾
	for(int i=0; i<5; i++)
	{
		for(int j=0; j<5; j++)
		{
			if(positions[i] == leftSquare[j] && positions[j] == leftSquare[i])
			{
				isExchangePattern = true;
			}
		}
	}
	
	return isExchangePattern;
}