mirror of
https://github.com/Project-Redacted/Gayme.git
synced 2025-05-14 06:52:16 +00:00
11 lines
No EOL
309 B
Python
11 lines
No EOL
309 B
Python
import pygame as pg
|
|
|
|
class Sound:
|
|
def __init__(self, game):
|
|
self.game = game
|
|
pg.mixer.init()
|
|
self.path = 'resources/sounds/'
|
|
#self.sound_type = pg.mixer.Sound(self.path + 'sound_type.extention')
|
|
|
|
# Then to call the sound use
|
|
# self.sound_type.play() |