public void makeMap(String data){
  int n1=data.indexOf("selection");
  mPath=new Path(data.substring(0,n1));
  int n2=data.indexOf("delay");
  mSelect=new Selection(data.substring(n1,n2));
  enemy_Cnt=mSelect.GetEnemyCount();
  n1=data.indexOf("position");
  mDelay=new DelayTime(data.substring(n2,n1));
  attackTime=mDelay.getDelay(0,5);
  n2=data.indexOf("shield");
  mPos=new Position(data.substring(n1,n2));
  mEny_life=new Enemy_life(data.substring(n2));
}

public void makeMap ( String data ) { int n1 = data . indexOf ( "selection" ) ; mPath = new Path ( data . substring ( 0 , n1 ) ) ; int n2 = data . indexOf ( "delay" ) ; mSelect = new Selection ( data . substring ( n1 , n2 ) ) ; enemy_Cnt = mSelect . GetEnemyCount ( ) ; n1 = data . indexOf ( "position" ) ; mDelay = new DelayTime ( data . substring ( n2 , n1 ) ) ; attackTime = mDelay . getDelay ( 0 , 5 ) ; n2 = data . indexOf ( "shield" ) ; mPos = new Position ( data . substring ( n1 , n2 ) ) ; mEny_life = new Enemy_life ( data . substring ( n2 ) ) ; }
make information by splitting information file stage0x . stg
