def __init__(self, name, rect, callback, model): Button.__init__(self, name, rect, callback, model) self.image = pygame.image.load("img/hint_icon.png")
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
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
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