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