void checkForDogs() { //Clamp the dogs happiness based on how many friends are in the paddock if (paddock.getDogs() == 1) { stats.happiness = Mathf.Clamp(stats.happiness, 0, 70); } else if (paddock.getDogs() == 2) { stats.happiness = Mathf.Clamp(stats.happiness, 0, 80); } else if (paddock.getDogs() == 3) { stats.happiness = Mathf.Clamp(stats.happiness, 0, 100); } }