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