public void markFieldForUpdateInBufferRect(GameDataAccessor gameData,
Coordinate fieldPos,
civquest.util.Rectangle
paintRect) {
Rectangle bufferRect = getBuffers(paintRect);
Buffer[][] buffers = gameDataToBuffers.get(gameData);
for (int x = bufferRect.getX1(); x <= bufferRect.getX2(); x++) {
for (int y = bufferRect.getY1(); y <= bufferRect.getY2(); y++) {
Coordinate coord = buffers[x][y]
.getBufferIntersectingCoord(fieldPos);
if (coord != null) {
buffers[x][y].markFieldForUpdate(coord);
}