From 276b7664bd4a475a3ca93a682c16b49c504c58f7 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Mon, 6 May 2024 16:30:46 +0200 Subject: update --- Scenes/Entities/Bombs/Bomb.gd | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Scenes/Entities/Bombs/Bomb.gd') 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 -- cgit v1.2.3