Extracted FightAttack Enum in the hopes of fixing errors

This commit is contained in:
2025-07-31 20:35:14 +02:00
parent cfe604d3b7
commit 730c4999d7
6 changed files with 37 additions and 24 deletions
@@ -0,0 +1,9 @@
namespace Babushka.scripts.CSharp.Common.Fight;
public class FightAttack
{
public int damage;
public bool needsSelectedTarget;
public Fighter? target;
public Fighter attacker;
}
+1 -7
View File
@@ -348,10 +348,4 @@ public partial class FightInstance : Node2D //TODO: remake
return false;
}
}
public class FightAttack
{
public int damage;
public bool needsSelectedTarget;
public Fighter? target;
public Fighter attacker;
}