duncgibbs 99de9e8b40
Some checks failed
linting & formatting / build (push) Failing after 5s
itch.io publish action / build (linux64, x86_64) (push) Failing after 34s
itch.io publish action / build (osx, app) (push) Failing after 30s
itch.io publish action / build (win64, exe) (push) Failing after 31s
initial commit
2026-04-13 11:34:00 -05:00

18 lines
335 B
GDScript

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