UI work, placing traps, removing traps, disarming traps, new sound fx.
This commit is contained in:
8
scripts/one_shot.gd
Normal file
8
scripts/one_shot.gd
Normal file
@@ -0,0 +1,8 @@
|
||||
extends AudioStreamPlayer
|
||||
|
||||
func _ready() -> void:
|
||||
$Timer.start(stream.get_length())
|
||||
|
||||
|
||||
func _on_timeout() -> void:
|
||||
queue_free()
|
||||
Reference in New Issue
Block a user