public void HansGottaEat() { var restaurant = new Location("Restaurant") { LocationFeatures = new[] { LocationFeature.Table } }; var hans = new Hans("Peter") { Location = restaurant }; Assert.Equal(70, hans.Stats[Satiety]); hans.AddActivity(Activity.Eat(), restaurant); hans.Tick(); Assert.Equal(86, hans.Stats[Satiety]); }
public void ScheduleActivity(Hans hans, Activity activity, Location location) { hans.AddActivity(activity, location); }