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,15 @@
class_name Building
extends CollisionObject3D
func _ready() -> void:
scale.y = randf_range(.5, 1.25)
func hit(_proj: PlayerProjectile) -> void:
print("boom!")
SignalBus.building_destroyed.emit(self)
collision_layer = 1 # World collision only
%Mesh.hide()
%DestroyedMesh.show()
%GPUParticles3D.preprocess = randf()