Initial commit.
This commit is contained in:
		
							
								
								
									
										10
									
								
								src/object.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								src/object.py
									
									
									
									
									
										Normal 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 | ||||
		Reference in New Issue
	
	Block a user