Initial commit.

This commit is contained in:
Storm Dragon
2025-01-30 01:17:52 -05:00
commit 0d115b2bef
17 changed files with 260 additions and 0 deletions

10
src/object.py Normal file
View File

@@ -0,0 +1,10 @@
class Object:
def __init__(self, xPos, yPos, soundName, isStatic=True, isCollectible=False, isHazard=False):
self.xPos = xPos
self.yPos = yPos
self.soundName = soundName
self.isStatic = isStatic
self.isCollectible = isCollectible
self.isHazard = isHazard
self.channel = None # For tracking the sound channel
self.isActive = True