Reorganized input
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user