public override TaskState Process() { var entities = IncludeTask.GetEntites(Type, Controller, Source, Target, Playables); Number = entities.Count; return(TaskState.COMPLETE); }
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); }
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); }
public override TaskState Process() { var entities = IncludeTask.GetEntites(Type, Controller, Source, Target, Playables); entities.ForEach(p => { p?.Destroy(); }); return(TaskState.COMPLETE); }
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); }