1
Fork 0
mirror of https://github.com/Steffo99/pineapple-surf.git synced 2025-02-17 22:53:59 +00:00
pineapple-surf/island/sinking/CanSink.gd

13 lines
171 B
GDScript3
Raw Normal View History

2023-01-09 12:35:14 +01:00
extends Node
class_name CanSink
## This fell in the water.
## Triggers before SinkArea.has_sunk .
signal sank()
func sink():
$SplashSound.play()
emit_signal("sank")