Begin UI refactor

This commit is contained in:
YourWishes committed 2026-01-09 20:52:47 -06:00
1 parent e7f55fd731
commit bcf5249067
16 files changed
+92 -50

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@ func _ready() -> void:
func _exit_tree() -> void:
OVERWORLD.mapChanged.disconnect(onMapChanged)
func onMapChanged(newMap:PackedScene, playerDestinationNodeName:String) -> void:
func onMapChanged(newMap:PackedScene, _playerDestinationNodeName:String) -> void:
print("New map time.", newMap)
for childScene in map.get_children():
map.remove_child(childScene)
+2
View File
@@ -62,6 +62,8 @@ func _applyFriction(delta:float) -> void:
entity.velocity.z *= delta * FRICTION
func _canMove() -> bool:
if !UI.TEXTBOX.isClosed:
return false
return true
#