public Person(Gene hairGene, Gene eyeGene, int age, int posX, int posY) {
   this.hairGene = hairGene;
   setHairColor();
   this.eyeGene = eyeGene;
   setEyeColor();
   this.age = age;
   setRandomSex();
   setRandomName();
   setRandomAttributeList();
   this.posX = posX;
   this.posY = posY;
   setFace();
 }
 public void setRandomHairGene() {
   int randomNumber = randomGenerator.nextInt(16);
   switch (randomNumber) {
     case 0:
       this.hairGene = Gene.AABB;
       break;
     case 1:
     case 2:
       this.hairGene = Gene.AABb;
       break;
     case 3:
       this.hairGene = Gene.AAbb;
       break;
     case 4:
     case 5:
       this.hairGene = Gene.AaBB;
       break;
     case 6:
     case 7:
     case 8:
     case 9:
       this.hairGene = Gene.AaBb;
       break;
     case 10:
     case 11:
       this.hairGene = Gene.Aabb;
       break;
     case 12:
       this.hairGene = Gene.aaBB;
       break;
     case 13:
     case 14:
       this.hairGene = Gene.aaBb;
       break;
     case 15:
       this.hairGene = Gene.aabb;
       break;
     default:
       this.hairGene = null;
       break;
   }
   setHairColor();
 }
 public void setHairGene(Gene hairGene) {
   this.hairGene = hairGene;
   setHairColor();
   setFace();
 }