using OECS; namespace Game.CardWars; /// /// Manages the flip phase: players take turns flipping cards. /// Blocks if a PendingChoice exists. /// public class FlipPhaseSystem : ISystem { public void Run(World world) { var state = world.ReadSingleton(); if (state.Phase != GamePhase.FlipPhase) return; // Block if a pending choice exists. if (PendingChoice.Any(world)) return; } }