feat: initial import

This commit is contained in:
redglow
2026-07-11 10:54:02 +02:00
commit e560a743fb
55 changed files with 993 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
using Godot;
using GodotHostTest.GodotDI;
namespace GodotHostTest.Game;
public partial class Turret : Sprite2D
{
[Inject] private readonly ISceneInstantiator _sceneInstantiator = null!;
[Export] private PackedScene _projectilePackedScene = null!;
public override void _Ready()
{
GetTree().CreateTimer(1).Timeout += () => AddChild(_sceneInstantiator.Instantiate(_projectilePackedScene));
}
}