More work on registering via FSM

This commit is contained in:
2025-07-25 18:38:47 -04:00
parent dc30d1b15c
commit c0a2c058ba
14 changed files with 57 additions and 12 deletions

18
notice_panel.gd Normal file
View File

@@ -0,0 +1,18 @@
class_name NoticePanel extends PanelContainer
var message : String :
get:
return %Label.text
set(value):
%Label.text = value
var duration : float :
get:
return %Timer.wait_time
set(value):
%Timer.wait_time = value
%Timer.start()
func _on_timer_timeout() -> void:
queue_free()