v0.3.1: added functionaltiy to flip indicators in the game UI
This commit is contained in:
committed by
Evan Debenham
parent
432f9ee440
commit
00aab9bd2d
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user