Files
flippr-game/Sound.py
Jonas Zeunert 401b3a332b Add Sounds
2022-08-30 21:51:19 +02:00

9 lines
192 B
Python

from __main__ import networking
class Sound:
def __init__(self, id):
self.name = "Sound " + str(id)
pass
def play(self, name):
networking.playSound(self.name)