mirror of
https://github.com/Project-Redacted/Gayme.git
synced 2025-05-24 11:54:53 +00:00
Path finding
This commit is contained in:
parent
b9f02c8268
commit
a32720cedb
30 changed files with 216 additions and 0 deletions
11
sound.py
Normal file
11
sound.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
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()
|
Loading…
Add table
Add a link
Reference in a new issue