if ((block != null) && (block.getTiles() != null)) {
Rectangle screenRect = getScreenRectangle(clip, coord.x
- currentBlock.getPosition().x, coord.y
- currentBlock.getPosition().y);
// only draw if block is visible
if (screenRect.intersects(clip)) {
Point topLeftCorner = screenRect.getLocation();
topLeftCorner.x = topLeftCorner.x + modifier.x;
topLeftCorner.y = topLeftCorner.y + modifier.y;
block.draw(gImg, topLeftCorner);
}