duncgibbs a9352d337d
Some checks failed
linting & formatting / build (push) Failing after 24s
way too many changes; multiplayer version, like, 0.6 or 0.7
2026-04-20 13:03:39 -05:00

19 lines
362 B
GDScript

class_name Turn extends Tile
@export var direction: Board.Direction
@onready var highlight: Panel = %Highlight
func handle_turn_mouse_entered() -> void:
highlight.show()
func handle_turn_mouse_exited() -> void:
highlight.hide()
func handle_gui_input(event: InputEvent):
if event.is_action_pressed("select") and !is_placing:
tile_selected.emit(self)