Files
idle/docs/gyms/tiny_sword/buildings/castle/castle.gd
2026-05-03 19:00:16 +02:00

21 lines
535 B
GDScript

extends Node2D
@onready var _prestige_panel: PrestigePanel = $PrestigePanel
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass
func _on_area_2d_mouse_entered() -> void:
## TODO: remove this comment to enable prestige panel
#_prestige_panel.visible = true
pass
func _on_area_2d_mouse_exited() -> void:
_prestige_panel.visible = false