예제 #1
0
파일: race.py 프로젝트: epfl-labos/DSS
 def __init__(self, state):
     Event.__init__(self, state)
예제 #2
0
 def __init__(self, state):
     Event.__init__(self, state)
예제 #3
0
 def __init__(self):
     Event.__init__(self, EventType.TICK)
예제 #4
0
 def __init__(self, key: str, pressed: bool) -> None:
     Event.__init__(self, EventType.KEY_PRESS)
     self.key = key
     self.pressed = pressed
예제 #5
0
 def __init__(self):
     Event.__init__(self, EventType.QUIT)
 def __init__(self, pressed: bool, position: Tuple[int, int]) -> None:
     Event.__init__(self, EventType.MOUSE_CLICK)
     self.pressed = pressed
     self.position = position