public Outfit(final int code){
  this.body=(code % 100);
  this.dress=(code / 100 % 100);
  this.head=(int)(code / Math.pow(100,2) % 100);
  this.hair=(int)(code / Math.pow(100,3) % 100);
  this.detail=(int)(code / Math.pow(100,4) % 100);
  this.mouth=0;
  this.eyes=0;
}

public Outfit ( final int code ) { this . body = ( code % 100 ) ; this . dress = ( code / 100 % 100 ) ; this . head = ( int ) ( code / Math . pow ( 100 , 2 ) % 100 ) ; this . hair = ( int ) ( code / Math . pow ( 100 , 3 ) % 100 ) ; this . detail = ( int ) ( code / Math . pow ( 100 , 4 ) % 100 ) ; this . mouth = 0 ; this . eyes = 0 ; }
creates a new outfit based on a numeric code .
