Esempio n. 1
0
        public override TaskState Process()
        {
            var entities = IncludeTask.GetEntites(Type, Controller, Source, Target, Playables);

            Number = entities.Count;
            return(TaskState.COMPLETE);
        }
Esempio n. 2
0
        public override TaskState Process()
        {
            System.Collections.Generic.List <Model.Entities.IPlayable> entities = IncludeTask.GetEntites(Type, Controller, Source, Target, Playables);
            entities.ForEach(p => { p?.Destroy(); });

            return(TaskState.COMPLETE);
        }
Esempio n. 3
0
        public override TaskState Process()
        {
            var entities = IncludeTask.GetEntites(Type, Controller, Source, Target, Playables);

            entities.ForEach(p => p.Controller.GraveyardZone.Add(p.Zone.Remove(p)));
            return(TaskState.COMPLETE);
        }
Esempio n. 4
0
        public override TaskState Process()
        {
            var entities = IncludeTask.GetEntites(Type, Controller, Source, Target, Playables);

            entities.ForEach(p => { p?.Destroy(); });

            return(TaskState.COMPLETE);
        }
Esempio n. 5
0
 public override TaskState Process()
 {
     System.Collections.Generic.List <Model.Entities.IPlayable> entities = IncludeTask.GetEntites(Type, Controller, Source, Target, Playables);
     Number = entities.Count;
     return(TaskState.COMPLETE);
 }