}
public static void newLevel() {
switch (level++) {
case 1:
platforms = new Platform[] {
new Platform(0, Constants.getHeight()-20, Constants.getWidth(), 20, -1),
new Platform(200, Constants.getHeight()-Shifter.getMaxJumpHeight()*4+40, 25, Constants.getHeight()+180, 0),
new Platform(0, Constants.getHeight()-Shifter.getMaxJumpHeight(), 200-Shifter.WIDTH*2, 20, 0),
new Platform(Shifter.WIDTH*2, Constants.getHeight()-Shifter.getMaxJumpHeight()*2+20, 200-Shifter.WIDTH*2, 20, 0),
new Platform(0, Constants.getHeight()-Shifter.getMaxJumpHeight()*3+40, 200-Shifter.WIDTH*2, 20, 0),
new Platform(Shifter.WIDTH*2, Constants.getHeight()-Shifter.getMaxJumpHeight()*4+40, 200-Shifter.WIDTH*2, 20, 0),
new Platform(0, Constants.getHeight()-Shifter.getMaxJumpHeight()*4-Shifter.HEIGHT*2, Constants.getWidth(), 20, 0)
};
portals = new Portal[] {
new FinishPortal(Constants.getWidth()-FinishPortal.DIAMETER-20, Constants.getHeight()-20-FinishPortal.DIAMETER-10, 0)
};
break;