Fix warningarrows being rotated 180° instead of flipped horizontally

This commit is contained in:
yugecin
2016-09-30 16:17:51 +02:00
parent 965f88ecc3
commit 05c29f1106

View File

@@ -478,7 +478,7 @@ public class Game extends BasicGameState {
arrow.setRotation(0); arrow.setRotation(0);
arrow.draw(width * 0.15f, height * 0.15f); arrow.draw(width * 0.15f, height * 0.15f);
arrow.draw(width * 0.15f, height * 0.75f); arrow.draw(width * 0.15f, height * 0.75f);
arrow.setRotation(180); arrow = arrow.getFlippedCopy(true, false);
arrow.draw(width * 0.75f, height * 0.15f); arrow.draw(width * 0.75f, height * 0.15f);
arrow.draw(width * 0.75f, height * 0.75f); arrow.draw(width * 0.75f, height * 0.75f);
} }