7 lines
146 B
GDScript
7 lines
146 B
GDScript
extends StaticBody2D
|
|
|
|
onready var animation = $Animation
|
|
|
|
func _on_SaveArea_body_entered(_body):
|
|
animation.play("Save")
|
|
SaverLoader.save_game()
|