Пример #1
0
 def __init__(self, rect, action = None, epsilon = BUTTON_TOL):
     self.action = action
     Button.__init__(self, rect, epsilon)
Пример #2
0
 def __init__(self, rect, next_screen = None, epsilon = BUTTON_TOL):
     self.next = next_screen
     Button.__init__(self, rect, epsilon)