Enhance blood stain mechanics: add dynamic blood surface generation and integrate blood stains into game rendering
This commit is contained in:
+1
-1
@@ -64,7 +64,7 @@ class Unit(ABC):
|
||||
"""Handle collisions with other units. Default implementation does nothing."""
|
||||
pass
|
||||
|
||||
def die(self):
|
||||
def die(self, score=None):
|
||||
"""Remove unit from game and handle basic cleanup."""
|
||||
if self.id in self.game.units:
|
||||
self.game.units.pop(self.id)
|
||||
|
||||
Reference in New Issue
Block a user