diff options
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 |