v0.3.1: added functionaltiy to flip indicators in the game UI

This commit is contained in:
Evan Debenham
2015-08-09 17:58:41 -04:00
committed by Evan Debenham
parent 432f9ee440
commit 00aab9bd2d
6 changed files with 60 additions and 23 deletions
@@ -64,6 +64,10 @@ public class Tag extends Button {
public void flash() {
lightness = 1f;
}
public void flip(boolean value){
bg.flipHorizontal(value);
}
@Override
public void update() {
@@ -208,7 +208,7 @@ public class Toolbar extends Component {
}
right = width;
if (ShatteredPixelDungeon.flippedUI()) {
if (ShatteredPixelDungeon.flipToolbar()) {
btnWait.setPos( (right - btnWait.right()), y);
btnSearch.setPos( (right - btnSearch.right()), y);