def create_empty(colors) -> MapData: map_data = MapData() empty_map = ImageHandler.create_empty_map_image( colors, "Vacuum not supported") map_data.image = ImageData.create_empty(empty_map) return map_data
def create_empty(colors, text) -> MapData: map_data = MapData() empty_map = ImageHandler.create_empty_map_image(colors, text) map_data.image = ImageData.create_empty(empty_map) return map_data