public GameTile(GameEnvironment world) { World = world; Plants = new Plant[]{ }; People = new Person[]{ }; Inventory = new Inventory(this, null, world.Context.Settings); }
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); }