def draw_tile(self, proxy): if proxy.image.texture: self.map_layer.add( Rectangle(pos=proxy.pos, size=proxy.size, texture=proxy.image.texture, group=proxy.zoom))