Move BattleGui main menu buttons

This commit is contained in:
Stephen Seo 2018-09-28 12:18:21 +09:00
parent 0e0a7ea562
commit 72abfb9c76

View file

@ -156,10 +156,10 @@ public class BattleGui extends GuiScreen
{ {
case MAIN_MENU: case MAIN_MENU:
info = "What will you do?"; info = "What will you do?";
buttonList.add(new GuiButton(ButtonAction.ATTACK.getValue(), width*2/7 - 30, height - 120, 60, 20, "Attack")); buttonList.add(new GuiButton(ButtonAction.ATTACK.getValue(), width*3/7 - 25, height - 70, 50, 20, "Attack"));
buttonList.add(new GuiButton(ButtonAction.DEFEND.getValue(), width*3/7 - 30, height - 120, 60, 20, "Defend")); buttonList.add(new GuiButton(ButtonAction.DEFEND.getValue(), width*4/7 - 25, height - 70, 50, 20, "Defend"));
buttonList.add(new GuiButton(ButtonAction.ITEM.getValue(), width*4/7 - 30, height - 120, 60, 20, "Item")); buttonList.add(new GuiButton(ButtonAction.ITEM.getValue(), width*3/7 - 25, height - 50, 50, 20, "Item"));
buttonList.add(new GuiButton(ButtonAction.FLEE.getValue(), width*5/7 - 30, height - 120, 60, 20, "Flee")); buttonList.add(new GuiButton(ButtonAction.FLEE.getValue(), width*4/7 - 25, height - 50, 50, 20, "Flee"));
break; break;
case ATTACK_TARGET: case ATTACK_TARGET:
info = "Who will you attack?"; info = "Who will you attack?";