示例#1
0
文件: HME_Utils.py 项目: Hegemege/HME
    def update(self):
        Label.update(self)

        if pygame.mouse.get_pressed() == (1, 0, 0):
            if self.rect.collidepoint(pygame.mouse.get_pos()):
                self.active = True
        else:
            self.active = False
示例#2
0
文件: HME_Utils.py 项目: Hegemege/HME
 def __init__(self):
     Label.__init__(self)
     self.active = False