Fixed names for a better traceability of code errors with orignal code lesson. End of lesson 25. Player is moving on the map viewport!

This commit is contained in:
2025-04-07 22:58:52 -03:00
parent 68a1e19ebe
commit 10fc584d1e
24 changed files with 162 additions and 70 deletions

View File

@@ -13,4 +13,4 @@ signal DISPLAY_MESSAGE(message)
signal DISPLAY_COMMAND_PROMPT
signal DISPLAY_CLEAR
signal LOAD_MAP(currentMap, newMap, spawnpoint, facing)
signal LOAD_MAP(currentMap, newMapPath, spawnpoint, facing)

View File

@@ -11,7 +11,7 @@ func _init(dir):
func execute():
CommandDispatcher.PLAYER_MOVE.emit(direction)
emit_signal("COMMAND_PROCESSED", getCommandText())
COMMAND_PROCESSED.emit(getCommandText())
func getDirectionString() -> String: