Пример #1
0
 public Player(string[] foods)
 {
     this.pointsOfHapppiness = FoodFactory.CalculatePointsOfHappiness(foods);
     this.mood = MoodFactory.GetMood(this.pointsOfHapppiness);
 }