mirror of
https://github.com/Steffo99/swear-jar.git
synced 2024-11-25 17:14:20 +00:00
Use new syntax for signals in Collectible
This commit is contained in:
parent
6f3b0be6cb
commit
f7c0b2359a
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ signal collected
|
||||||
##
|
##
|
||||||
## You'll probably want to connect this to an AudioSource2D, which will disable the node and play a sound, and when the sound is over a new signal will queue_free it.
|
## You'll probably want to connect this to an AudioSource2D, which will disable the node and play a sound, and when the sound is over a new signal will queue_free it.
|
||||||
func collect():
|
func collect():
|
||||||
emit_signal("collected")
|
collected.emit()
|
||||||
|
|
||||||
|
|
||||||
func _on_done():
|
func _on_done():
|
||||||
|
|
Loading…
Reference in a new issue