Пример #1
0
 def __init__(self):
     super().__init__()
     init_sdl()
     self.chunks = {}
Пример #2
0
 def __init__(self, joystick_id, mapping=None, offset=0):
     super(RawSDLJoystick, self).__init__(mapping, offset)
     init_sdl()
     self.joystick = self.open_joystick(joystick_id)
Пример #3
0
 def __init__(self, joystick_id, offset=0):
     super().__init__(offset)
     init_sdl()
     self.joystick = self.open_joystick(joystick_id)
Пример #4
0
 def __init__(self, channel=0):
     super(SDLMixer, self).__init__()
     init_sdl()
     self.chunks = {}
Пример #5
0
 def __init__(self, channel=0):
     super(SDLMixer, self).__init__()
     self.sound_queue = deque()
     init_sdl()
     self.chunks = {}