clean up file structure

This commit is contained in:
Michael Campbell 2026-02-18 15:30:41 -05:00
parent 1318fdd9fc
commit 324e7d437b
28 changed files with 102 additions and 125 deletions

View file

@ -0,0 +1,8 @@
extends Node
@export var duration := 10.
func _process(delta: float) -> void:
duration -= delta
if duration <= 0:
get_parent().queue_free()

View file

@ -0,0 +1 @@
uid://cw8yt6b6jo17n

View file

@ -0,0 +1,6 @@
[gd_scene format=3 uid="uid://yri7p15m8l1u"]
[ext_resource type="Script" uid="uid://cw8yt6b6jo17n" path="res://utils/lifetime/lifetime.gd" id="1_4m2ci"]
[node name="Lifetime" type="Node" unique_id=631221358]
script = ExtResource("1_4m2ci")

3
utils/signal_bus.gd Normal file
View file

@ -0,0 +1,3 @@
extends Node
signal building_destroyed(building: Building)

1
utils/signal_bus.gd.uid Normal file
View file

@ -0,0 +1 @@
uid://cj4jk5xvv2n3l