Ejemplo n.º 1
0
 public static HandbookRegistry getEntry(int screen, int page) {
   // ReikaJavaLibrary.pConsole(screen+"   "+page);
   if (screen < TERMS.getScreen()) return TOC;
   HandbookRegistry h = HandbookAuxData.getMapping(screen, page);
   return h != null ? h : TOC;
   // throw new RuntimeException("Handbook screen "+screen+" and page "+page+" do not correspond to
   // an entry!");
 }
Ejemplo n.º 2
0
 public static HandbookRegistry[] getInfoTabs() {
   int size = MISCDESC.ordinal() - TERMS.ordinal();
   HandbookRegistry[] tabs = new HandbookRegistry[size];
   System.arraycopy(tabList, TERMS.ordinal(), tabs, 0, size);
   return tabs;
 }