Update asset loading to include transparent color and adjust white flash timing; enhance nuclear bomb scoring and gas unit die method
This commit is contained in:
+2
-2
@@ -47,8 +47,8 @@ class Gas(Unit):
|
||||
self.game.spawn_unit(Gas, (new_x, new_y), parent_id=self.parent_id if self.parent_id else self.id)
|
||||
def collisions(self):
|
||||
pass
|
||||
|
||||
def die(self, unit=None):
|
||||
|
||||
def die(self, unit=None, score=None):
|
||||
if not unit:
|
||||
unit = self
|
||||
self.game.units.pop(unit.id)
|
||||
|
||||
Reference in New Issue
Block a user