public Inventory(IHasInventory parent, DemandList demands, EngineSettings settings) { Parent = parent; Settings = settings; Demands = demands; Construct(); }
public Inventory(IHasInventory parent, DemandList demands, EngineSettings settings) { Parent = parent; Settings = settings; Demands = demands; Construct (); }
public Person(EngineSettings settings) { Demands = new DemandList (this); Inventory = new Inventory (this, Demands, settings); Vitals.Add (PersonVitalType.Energy, 100); Vitals.Add (PersonVitalType.Health, 100); Vitals.Add (PersonVitalType.Thirst, 0); Vitals.Add (PersonVitalType.Hunger, 0); }