12 lines
205 B
GDScript
12 lines
205 B
GDScript
extends StaticBody2D
|
|
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
func _ready() -> void:
|
|
pass # Replace with function body.
|
|
|
|
|
|
func on_bonk() -> void:
|
|
print('goodbye')
|
|
queue_free()
|