public void AddSchematic(Blueprint item) { // Find existing Blueprint to reproduce the item if(!Schematics.Exists(x => x.Id == item.Id || x.WorkLines.SequenceEqual(item.WorkLines))) { Schematics.Add(item); } }
private void SetDefault() { foreach(Blueprint.DefaultItem item in Enum.GetValues(typeof(Blueprint.DefaultItem))) { if(item != Blueprint.DefaultItem.Customized) { Blueprint form = new Blueprint(); } } }
public Item(Blueprint type) { this.Type = type; this.Id = Increment; Increment++; }
public void RemoveScematic(Blueprint item) { Schematics.RemoveAll(x => x.WorkLines.SequenceEqual(item.WorkLines)); }