def __init__(self, choice, group, x=0, y=0, *a, **k): self.choice = choice cc = choice.char_cls meta = cc.ui_meta pimg = L(meta.port_image) self.x = x self.y = y ImageSelector.__init__(self, pimg, group, *a, **k) self.balloon.set_balloon(char_desc(cc))
def __init__(self, choice, group, x=0, y=0, *a, **k): self.choice = choice cc = choice.char_cls meta = cc.ui_meta pimg = L(meta.port_image) self.char_name = meta.char_name self.char_maxlife = cc.maxlife self.x = x self.y = y ImageSelector.__init__(self, pimg, group, *a, **k) self.balloon.set_balloon(meta.description)
def __init__(self, choice, group, x=0, y=0, *a, **k): self.choice = choice cc = choice.char_cls meta = cc.ui_meta pimg = L(meta.port_image) self.x = x self.y = y ImageSelector.__init__( self, pimg, group, *a, **k ) self.balloon.set_balloon(char_desc(cc))
def __init__(self, choice, group, x=0, y=0, *a, **k): self.choice = choice cc = choice.char_cls meta = cc.ui_meta pimg = L(meta.port_image) self.char_name = meta.char_name self.char_maxlife = cc.maxlife self.x = x self.y = y ImageSelector.__init__( self, pimg, group, *a, **k ) self.balloon.set_balloon(meta.description)