while (inRun(pos, maxRow, maxCol, nextSpace, player1)) {
if (containsEnemy(player1, nextSpace)) {
containsEnemy = true;
}
runLength++;
pos.increment(rowInc, colInc);
nextSpace = (GoBoardPosition) board_.getPosition( pos );
}
boolean bounded = isBounded(startSpace, nextSpace, firstSpace);
runPotential += accrueRunPotential(rowInc, pos, breadth, firstSpace, containsEnemy, runLength, bounded);