v0.7.4: wand names are now in title case in the wandmaker reward window

This commit is contained in:
Evan Debenham 2019-06-19 22:22:03 -04:00
parent 2b743b1f15
commit 329ad0e14f

View File

@ -66,7 +66,7 @@ public class WndWandmaker extends Window {
message.setPos(0, titlebar.bottom() + GAP);
add( message );
RedButton btnWand1 = new RedButton( Wandmaker.Quest.wand1.name() ) {
RedButton btnWand1 = new RedButton( Messages.titleCase(Wandmaker.Quest.wand1.name()) ) {
@Override
protected void onClick() {
selectReward( wandmaker, item, Wandmaker.Quest.wand1 );
@ -75,7 +75,7 @@ public class WndWandmaker extends Window {
btnWand1.setRect(0, message.top() + message.height() + GAP, WIDTH, BTN_HEIGHT);
add( btnWand1 );
RedButton btnWand2 = new RedButton( Wandmaker.Quest.wand2.name() ) {
RedButton btnWand2 = new RedButton( Messages.titleCase(Wandmaker.Quest.wand2.name()) ) {
@Override
protected void onClick() {
selectReward( wandmaker, item, Wandmaker.Quest.wand2 );