async public Task AllTriggered(IPilot pilot, Game game)
        {
            while (untriggered.Count > 0)
            {
                UnityEngine.Debug.Log("Picking the next effect to fire among " + untriggered);
                var effect = await pilot.TriggerFromSimultaneous(untriggered);

                await effect.Resolve(game);

                untriggered.Remove(effect);
            }
        }
예제 #2
0
 public virtual Task <IEffect> TriggerFromSimultaneous(List <IEffect> effects)
 {
     return(basic.TriggerFromSimultaneous(effects));
 }