示例#1
0
 public void pushState() {
   states.add(state);
   levels.add(level);
   state = start_state;
   level = 0;
   inXML++;
 }
示例#2
0
 public void popState() {
   state = states.removeLast();
   level = levels.removeLast();
   if (inXML > 0) inXML--;
 }