예제 #1
0
 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);
     }
 }
예제 #2
0
        private void SetDefault()
        {
            foreach(Blueprint.DefaultItem item in Enum.GetValues(typeof(Blueprint.DefaultItem)))
            {
                if(item != Blueprint.DefaultItem.Customized)
                {
                    Blueprint form = new Blueprint();

                }
            }
        }
예제 #3
0
파일: Item.cs 프로젝트: enchman/jobboard
 public Item(Blueprint type)
 {
     this.Type = type;
     this.Id = Increment;
     Increment++;
 }
예제 #4
0
 public void RemoveScematic(Blueprint item)
 {
     Schematics.RemoveAll(x => x.WorkLines.SequenceEqual(item.WorkLines));
 }