2024-05-06 12:41:23 +03:00
|
|
|
extends Node3D
|
|
|
|
|
|
|
|
@onready var save = $Save
|
|
|
|
@onready var clear_save = $ClearSave
|
|
|
|
|
|
|
|
func _ready():
|
|
|
|
|
|
|
|
save.on_button_down.connect(func():
|
2024-05-22 19:38:28 +03:00
|
|
|
App.house.save_all_entities()
|
2024-05-06 12:41:23 +03:00
|
|
|
Store.house.save_local()
|
|
|
|
)
|
|
|
|
|
|
|
|
clear_save.on_button_down.connect(func():
|
|
|
|
Store.house.clear()
|
2024-05-22 19:38:28 +03:00
|
|
|
App.house.update_house()
|
2024-05-06 12:41:23 +03:00
|
|
|
)
|