gd: basic weapon and readability refacto

This commit is contained in:
2025-06-06 16:09:39 +02:00
parent bbcc3d0867
commit 579b523a37
15 changed files with 263 additions and 201 deletions

View File

@ -0,0 +1,21 @@
using Godot;
namespace Movementtests.systems;
public partial class WeaponSystem : MeshInstance3D
{
private Node3D _head;
private ShapeCast3D _dashCast3D;
private Camera3D _camera;
private TweenQueueSystem _tweenQueueSystem;
private MantleSystem _mantleSystem;
private MeshInstance3D _dashTarget;
public void Init(Node3D head, Camera3D camera, TweenQueueSystem tweenQueueSystem)
{
_head = head;
_camera = camera;
_tweenQueueSystem = tweenQueueSystem;
}
}