Beispiel #1
0
 public void InitializeSystem()
 {
     // Upon using Save System, try to use Initialize System as a way to Load Data from the save file.
     id = ItemsUtility.GenerateItemID(name);
     foreach (Stats item in Enum.GetValues(typeof(Stats)))
     {
         BaseUnitStats tmp = new BaseUnitStats();
         tmp.InitializeStats(item.ToString());
         stats.Add(item, tmp);
     }
 }
 public CustomerListService(CustomerUtility _customerUtility, ItemsUtility _itemsUtility)
 {
     itemsUtility    = _itemsUtility;
     customerUtility = _customerUtility;
 }
Beispiel #3
0
 public CustService(CustomerUtility custUtility, ItemsUtility itemUtility)
 {
     customerUtility = custUtility;
     itemsUtility    = itemUtility;
 }
 public ConsolidatedService(ItemsUtility itemsUtility)
 {
     _itemUtility = itemsUtility;
 }