Esempio n. 1
0
 public void checkColoredDoors() {
   if (pinkDoor.isSatisfied() && greenDoor.isSatisfied()) {
     fadeout.go();
     if (fadeout.isDone()) {
       players.clear();
       gsm.currentLevel = 4;
       gsm.setState(GameStateManager.LOADINGSTATE);
     }
   }
 }
Esempio n. 2
0
 public void checkRegularDoor10() {
   if (door10.isSatisfied()) {
     fadeout.go();
     if (fadeout.isDone()) {
       gsm.currentLevel = 11;
       doors.remove(door10);
       gsm.setState(GameStateManager.LOADINGSTATE);
     }
   }
 }