Option to hide all objects

This commit is contained in:
yugecin
2016-09-30 23:11:43 +02:00
parent 722180d9ff
commit 5b264a5277
4 changed files with 29 additions and 7 deletions

View File

@@ -1422,12 +1422,14 @@ public class Game extends BasicGameState {
// normal case
if (!loseState) {
gameObj.draw(g, trackPosition, false);
if (Dancer.mirror && GameMod.AUTO.isActive()) {
g.pushTransform();
g.rotate(Options.width / 2f, Options.height / 2f, 180f);
gameObj.draw(g, trackPosition, true);
g.popTransform();
if (!Dancer.hideobjects) {
gameObj.draw(g, trackPosition, false);
if (Dancer.mirror && GameMod.AUTO.isActive()) {
g.pushTransform();
g.rotate(Options.width / 2f, Options.height / 2f, 180f);
gameObj.draw(g, trackPosition, true);
g.popTransform();
}
}
}
// death: make objects "fall" off the screen
@@ -1462,7 +1464,9 @@ public class Game extends BasicGameState {
}
// draw result objects
data.drawHitResults(trackPosition);
if (!Dancer.hideobjects) {
data.drawHitResults(trackPosition);
}
}
/**