Reorganized input

This commit is contained in:
gamer147
2026-04-02 23:02:18 -04:00
parent b9030b7899
commit 2ad8686ad5
7 changed files with 533 additions and 75 deletions

View File

@@ -1,8 +1,6 @@
class_name CombatMap
extends Node2D
signal tile_hovered(coords: Vector2i)
@export var tile_set: DLTileset
@onready var tile_map: TileMapLayer = %TerrainLayer
@onready var highlight_map: GridOverlay = %OverlayLayer
@@ -82,7 +80,6 @@ func remove_unit(unit: Unit) -> void:
func target_tile(coords: Vector2i) -> void:
highlight_map.target_tile(coords)
tile_hovered.emit(coords)
func set_highlight_enabled(enabled: bool) -> void: