More sounds added. Warning for edge of grave added, but it's not quite right yet.

This commit is contained in:
Storm Dragon
2025-01-31 03:23:54 -05:00
parent dfbccb97ad
commit fcc2dbf44a
9 changed files with 131 additions and 12 deletions

View File

@@ -19,7 +19,7 @@ class Player:
# Inventory system
self.inventory = []
self.collectedItems = []
self.coins = 0
self._coins = 0
# Combat related attributes
self.weapons = []
@@ -103,6 +103,10 @@ class Player:
if self._lives > 0:
self._health = 10 # Reset health if we still have lives
def get_coins(self):
"""Get remaining coins"""
return self._coins
def get_lives(self):
"""Get remaining lives"""
return self._lives