public Generator(int baseWidth,int beseHeight){
  this.baseWidth=baseWidth;
  this.beseHeight=beseHeight;
  XSTREAM.autodetectAnnotations(true);
  this.resFile=new File("./res");
  if (!resFile.exists()) {
    resFile.mkdir();
  }
}

public Generator ( int baseWidth , int beseHeight ) { this . baseWidth = baseWidth ; this . beseHeight = beseHeight ; XSTREAM . autodetectAnnotations ( true ) ; this . resFile = new File ( "./res" ) ; if ( ! resFile . exists ( ) ) { resFile . mkdir ( ) ; } }
using basewidth and baseheight to generator
