Пример #1
0
 def __init__(self, name, rect, callback, model):
     Button.__init__(self, name, rect, callback, model)
     self.image = pygame.image.load("img/hint_icon.png")
Пример #2
0
 def __init__(self, name, rect, callback, model):
     Button.__init__(self, name, rect, callback, model)
     self.image = pygame.image.load("img/notime_icon.png")
     self.clickbox = True
Пример #3
0
 def __init__(self, name, rect, callback, model):
     Button.__init__(self, name, rect, callback, model)
     self.image = pygame.image.load("img/stats_icon.png")
     self.clickbox = False
Пример #4
0
 def __init__(self, name, rect, callback, model):
     Button.__init__(self, name, rect, callback, model)
     self.image = pygame.image.load("img/start_icon.png")
     self.clickbox = False  # all home screen buttons have a clickbox option