Esempio n. 1
0
        public bool ActivateOnStage(int stage, IList <EngineWrapper> engines)
        {
            var activated = false;

            foreach (var p in DB)
            {
                if (p.Stage < 0 || p.Stage != stage)
                {
                    continue;
                }
                Activate(p);
                Active.Apply(engines);
                activated = true;
                break;
            }
            return(activated);
        }