def __init__(self, rect, action = None, epsilon = BUTTON_TOL): self.action = action Button.__init__(self, rect, epsilon)
def __init__(self, rect, next_screen = None, epsilon = BUTTON_TOL): self.next = next_screen Button.__init__(self, rect, epsilon)