diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2024-05-06 16:30:46 +0200 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2024-05-06 16:30:46 +0200 |
commit | 276b7664bd4a475a3ca93a682c16b49c504c58f7 (patch) | |
tree | 6b8f8cf0e1a82496c1f539e55e26bc078300b23a /Scenes/Entities/Bombs | |
parent | 8c0e8b5bf73caaf2fd6f04fb97b9c13f2970c431 (diff) |
update
Diffstat (limited to 'Scenes/Entities/Bombs')
-rw-r--r-- | Scenes/Entities/Bombs/Bomb.gd | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Scenes/Entities/Bombs/Bomb.gd b/Scenes/Entities/Bombs/Bomb.gd index 97fbf4f..7a1a9eb 100644 --- a/Scenes/Entities/Bombs/Bomb.gd +++ b/Scenes/Entities/Bombs/Bomb.gd @@ -123,6 +123,10 @@ func get_power(): return self.power +func stop(): + $Timer.stop() + + func spawn_explosion(spawn_position: Vector2): var explosion = ExplosionScene.instantiate() explosion.position = spawn_position |