Movement refactor

This commit is contained in:
2025-08-30 23:06:12 +02:00
committed by GitHub
parent d786ef4c22
commit 88c7a0a055
41 changed files with 656 additions and 122 deletions

View File

@@ -23,7 +23,7 @@ public partial class StompDamageComponent : Node
if (!(Root.GlobalPosition.Y < body.GlobalPosition.Y)) return;
var velocity = Root.CurrentMovement.PreviousVelocity;
var velocity = Root.PreviousVelocity;
if (!(velocity.Y > 0f)) return;
DealDamage(health);