Path finding

This commit is contained in:
Michał Gdula 2023-01-28 15:05:50 +00:00
parent b9f02c8268
commit a32720cedb
30 changed files with 216 additions and 0 deletions

11
sound.py Normal file
View 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()