gd: basic weapon and readability refacto
This commit is contained in:
21
systems/weapon/WeaponSystem.cs
Normal file
21
systems/weapon/WeaponSystem.cs
Normal 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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user