generated from krampus/template-godot4
15 lines
248 B
GDScript
15 lines
248 B
GDScript
class_name Tile extends Control
|
|
|
|
@warning_ignore("unused_signal")
|
|
signal tile_selected(tile: Tile)
|
|
|
|
var highlighted: bool = false
|
|
|
|
|
|
func handle_mouse_entered() -> void:
|
|
highlighted = true
|
|
|
|
|
|
func handle_mouse_exited() -> void:
|
|
highlighted = false
|