fix: correction...
This commit is contained in:
parent
cc9bdbc746
commit
87a63a44bb
|
@ -190,6 +190,7 @@ public class Worlds extends Actor {
|
||||||
public void setMaxWorldLevel() {
|
public void setMaxWorldLevel() {
|
||||||
usedworld=getMaxUnlockWorlds();
|
usedworld=getMaxUnlockWorlds();
|
||||||
usedlevel=getMaxUnlockLevel();
|
usedlevel=getMaxUnlockLevel();
|
||||||
|
onchanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isFirstWorld() {
|
public boolean isFirstWorld() {
|
||||||
|
|
|
@ -245,9 +245,6 @@ public class LevelScreen implements Screen {
|
||||||
stage.addActor(buttonLevels[j]);
|
stage.addActor(buttonLevels[j]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/*Gdx.app.debug(getClass().getSimpleName(), "Mise en place du level 0.");
|
|
||||||
buttonLevels[0].setChecked(true);
|
|
||||||
showlevel(buttonLevels[0]);*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public LevelScreen(Worlds aworlds) {
|
public LevelScreen(Worlds aworlds) {
|
||||||
|
@ -378,8 +375,6 @@ public class LevelScreen implements Screen {
|
||||||
worlds.DesactivateDebug();
|
worlds.DesactivateDebug();
|
||||||
worlds.updateUnlockLevels();
|
worlds.updateUnlockLevels();
|
||||||
worlds.setMaxWorldLevel();
|
worlds.setMaxWorldLevel();
|
||||||
loadWorld();
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue