Swapped sprites
This commit is contained in:
@@ -4,9 +4,8 @@ extends Node2D
|
||||
@export var tile_set: DLTileset
|
||||
@onready var tile_map: TileMapLayer = %TerrainLayer
|
||||
@onready var highlight_map: GridOverlay = %OverlayLayer
|
||||
@onready var tile_highlight: ColorRect = $TileHighlight
|
||||
|
||||
const TILE_SIZE := 48.0
|
||||
const TILE_SIZE := 100.0
|
||||
const SOURCE_ID: int = 0
|
||||
|
||||
var _pending_layout: String
|
||||
@@ -80,8 +79,3 @@ func remove_unit(unit: Unit) -> void:
|
||||
|
||||
func target_tile(coords: Vector2i) -> void:
|
||||
highlight_map.target_tile(coords)
|
||||
|
||||
|
||||
func set_highlight_enabled(enabled: bool) -> void:
|
||||
tile_highlight.visible = enabled
|
||||
tile_highlight.set_process(enabled)
|
||||
|
||||
Reference in New Issue
Block a user