Added basic action animation

This commit is contained in:
jonathan
2025-09-30 17:36:28 +02:00
parent 0e315396c9
commit 9bf25640f6
8 changed files with 120 additions and 23 deletions
@@ -122,4 +122,11 @@ public partial class AllFightersVisual : Node
}
#endregion
public FighterVisual GetVisualForFighter(FightWorld.Fighter fighter)
{
return _fighterVisuals.TryGetValue(fighter, out var visual)
? visual
: throw new InvalidOperationException("No visual for this fighter");
}
}