Hashi/sounds.py
2020-12-16 20:47:09 +01:00

13 lines
306 B
Python

import pygame
from pygame.locals import *
pygame.init()
def get_sounds():
sounds = {"click": pygame.mixer.Sound("assets/sounds/click.wav"),
"remove": pygame.mixer.Sound("assets/sounds/remove.wav"),
"join": pygame.mixer.Sound("assets/sounds/join.wav")}
return sounds