Esempio n. 1
0
 def __init__(self):
     super().__init__()
     init_sdl()
     self.chunks = {}
Esempio n. 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)
Esempio n. 3
0
 def __init__(self, joystick_id, offset=0):
     super().__init__(offset)
     init_sdl()
     self.joystick = self.open_joystick(joystick_id)
Esempio n. 4
0
 def __init__(self, channel=0):
     super(SDLMixer, self).__init__()
     init_sdl()
     self.chunks = {}
Esempio n. 5
0
 def __init__(self, channel=0):
     super(SDLMixer, self).__init__()
     self.sound_queue = deque()
     init_sdl()
     self.chunks = {}