Alternate approach to Godot 4 Tutorial - Space Shooter Using Components - P10 Enemy Generator
https://youtu.be/_IVsoCltCUw?si=fzVZ4jtl5JMG4yD8
Adds a new SpawnerTypeComponent component that uses a bit of inheritance to extend Timer. The entity scene to spawn is attached to this component and a signal connects back to the SpawnerComponent to tell it which scene to spawn. The signal is emitted when the timeout() occurs. Note, that I've used the Node panel to connect the spawn_triggered(scene) and timeout() signals in this example vs. manually connecting them.