added Map::getBlocks()