♻️ Implemented FightersFormation to keep track of the fight entered state of the fighters

This commit is contained in:
jonathan
2025-10-07 18:08:53 +02:00
parent 0de3bcae22
commit 83dc6bfd56
13 changed files with 127 additions and 54 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ public partial class FighterVisual : Node2D
/// </summary>
private void UpdateMirrorState()
{
_visualParent.Scale = new Vector2(_boundFighter.isEnemy ? -1 : 1, 1);
_visualParent.Scale = new Vector2(_boundFighter.IsInFormation(HappeningData.enemyFighterFormation) ? -1 : 1, 1);
}
public void UpdateHealthBar()