Add NotificationManager and NotificationLabel for age advancement notifications; refactor scripts into Components directory

This commit is contained in:
2025-08-23 04:54:45 +02:00
parent 5719c3f920
commit 9cf707945b
26 changed files with 96 additions and 68 deletions

View File

@@ -0,0 +1,10 @@
[gd_scene load_steps=2 format=3 uid="uid://b417dl07c13uc"]
[ext_resource type="Script" uid="uid://chnf0t5xdosys" path="res://Scripts/ActiveBuffUi.cs" id="1_7ujuu"]
[node name="BuffButton" type="Button"]
focus_mode = 0
disabled = true
button_mask = 0
text = "Effect"
script = ExtResource("1_7ujuu")

View File

@@ -0,0 +1,9 @@
[gd_scene load_steps=2 format=3 uid="uid://rj1fsdlhju5y"]
[ext_resource type="Script" uid="uid://ctjmwgucwh3le" path="res://Scenes/Main/MiracleButton.cs" id="1_sxcu0"]
[node name="MiracleButton" type="Button"]
custom_minimum_size = Vector2(128, 64)
offset_right = 8.0
offset_bottom = 8.0
script = ExtResource("1_sxcu0")

View File

@@ -0,0 +1,10 @@
[gd_scene load_steps=2 format=3 uid="uid://crpf0llofg0sc"]
[ext_resource type="Script" uid="uid://drx8lqcjq5khj" path="res://Scripts/NotificationLabel.cs" id="1_x4sn4"]
[node name="NotificationLabel" type="Label"]
offset_right = 40.0
offset_bottom = 23.0
horizontal_alignment = 1
vertical_alignment = 1
script = ExtResource("1_x4sn4")