🎨 Live review changes
This commit is contained in:
@@ -14,6 +14,7 @@ public partial class AllFightersVisual : Node
|
||||
|
||||
[Export] private Node2D _enemyFighters = null!;
|
||||
|
||||
// TODO: move type to prefab mapping to Resource
|
||||
[ExportCategory("Fighter Visual Scenes")]
|
||||
[Export] private PackedScene _blobFighterVisual = null!;
|
||||
[Export] private PackedScene _bigBlobFighterVisual = null!;
|
||||
@@ -112,6 +113,7 @@ public partial class AllFightersVisual : Node
|
||||
|
||||
private void ShowTargetSelect(TargetSelectActionDetail targetDetail)
|
||||
{
|
||||
// TODO: use Event bus
|
||||
if (targetDetail.selectEnemy)
|
||||
_fighterVisuals
|
||||
.Where(kv => kv.Key.IsInFormation(HappeningData.enemyFighterFormation))
|
||||
|
||||
Reference in New Issue
Block a user