Using lines cursor

This commit is contained in:
2024-08-30 13:49:07 +03:00
parent 4f1477982a
commit 49a88f7c2e
6 changed files with 75 additions and 12 deletions

View File

@@ -28,6 +28,7 @@ func _ready():
for k in vmode.keys():
vmode[k].hide()
$building_cursor.hide()
$"%line_cursor".hide()
$"%building_type".connect("item_selected", self, "change_building_type")
func editor_event(evname: String, args: Array):
@@ -69,6 +70,8 @@ func editor_event(evname: String, args: Array):
pass
elif evname == "mouse_drag_off":
pass
elif evname == "line_cursor_motion":
pass
else:
breakpoint
func mouse_drag(position):