예제 #1
0
 private ItemRecipe(ItemType owner, ItemManager manager)
 {
     _owner       = owner;
     _totalPrice  = -1;
     _itemManager = manager;
 }
예제 #2
0
 public static ItemRecipe FromItemType(ItemType type, ItemManager manager)
 {
     return(new ItemRecipe(type, manager));
 }
예제 #3
0
 private void CreateRecipe(ItemManager manager)
 {
     Recipe = ItemRecipe.FromItemType(this, manager);
 }