public Human(GENDER gender = GENDER.MALE, AGE age = AGE.BABY, GIRTH girth = GIRTH.SKINNY, CRIME crime = CRIME.NONE) { this.gender = gender; this.age = age; this.girth = girth; this.crime = crime; }
public Human CreateHuman(GENDER gender = GENDER.MALE, AGE age = AGE.BABY, GIRTH girth = GIRTH.SKINNY, CRIME crime = CRIME.NONE) { if (recycledHumans.Count == 0) { return(new Human(gender, age, girth, crime)); } else { return(recycledHumans.Pop()); } }
public void SetGirth(GIRTH girth) { this.girth = girth; }