Updating character location based on occupied tile

This commit is contained in:
hz
2026-03-13 21:34:59 -05:00
parent 6ca0f306bb
commit e79f473ce4
8 changed files with 122 additions and 14 deletions
+6
View File
@@ -14,3 +14,9 @@ func get_coord() -> Vector2:
float(coord.get("x", 0)),
float(coord.get("y", 0))
)
func set_coord(coord: Vector2i) -> void:
character["coord"] = {
"x": coord.x,
"y": coord.y
}