adapted monster structure and save game

This commit is contained in:
Luca 2024-09-22 13:44:49 +02:00
parent 04873e3880
commit aa4afc4c4b
22 changed files with 358 additions and 183 deletions

View file

@ -1,12 +1,10 @@
extends Node3D
# Game.gd - Main Entrypoint for the game
@onready var ui: UI = $UI
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
SaveGame.load()
# Update the UI when the Inventory (global) changes
Inventory.inventory_changed.connect(ui._update_ui)
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass