From c50450f6b8e42438d99cac68878ca90ce574c0ef Mon Sep 17 00:00:00 2001 From: Marco Date: Mon, 7 Apr 2025 16:05:48 +0200 Subject: [PATCH] Formatting --- Scripts/Components/FSM/Player/PlayerGrazingModule.cs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Scripts/Components/FSM/Player/PlayerGrazingModule.cs b/Scripts/Components/FSM/Player/PlayerGrazingModule.cs index 88f21fbc..da75a7dd 100644 --- a/Scripts/Components/FSM/Player/PlayerGrazingModule.cs +++ b/Scripts/Components/FSM/Player/PlayerGrazingModule.cs @@ -6,9 +6,9 @@ namespace Cirno.Scripts.Components.FSM.Player; public partial class PlayerGrazingModule : PlayerArea2DModule { [Export] public BulletOwner Owner { get; private set; } = BulletOwner.Player; - + [Export] public ActorResourceProvider Shield { get; private set; } - + private bool _enabled = false; public bool Enabled @@ -21,7 +21,6 @@ public partial class PlayerGrazingModule : PlayerArea2DModule } } - public override void EnterState(PlayerState state) { Enabled = true; @@ -38,7 +37,7 @@ public partial class PlayerGrazingModule : PlayerArea2DModule if (bullet.BulletOwner is BulletOwner.Player) return; GD.Print("Grazed"); - + bullet.Graze(); //bullet.IsGrazed = true; Shield.CurrentResource += bullet.BulletInfo.GrazeValue; @@ -56,11 +55,9 @@ public partial class PlayerGrazingModule : PlayerArea2DModule public override void Process(double delta) { - } public override void PhysicsProcess(double delta) { - } } \ No newline at end of file