break;
case AREAnav.TANC:
areaNavigation = new TANCnav(navBlock);
break;
default:
throw new AreaFileException(
"AreaFile2.getAreaNav: Unknown navigation type" + navBlock[0]);
}
} catch (IllegalArgumentException excp) {
throw new AreaFileException( "AreaFile2.getAreaNav: bad nav block "+excp.getMessage());
}
areaNavigation.setImageStart(dir[5], dir[6]);
areaNavigation.setRes(dir[11], dir[12]);
areaNavigation.setStart(1,1);