Add obstacle generation to MapGenerator.generateMap