v0.7.4: wand names are now in title case in the wandmaker reward window
This commit is contained in:
parent
2b743b1f15
commit
329ad0e14f
|
@ -66,7 +66,7 @@ public class WndWandmaker extends Window {
|
||||||
message.setPos(0, titlebar.bottom() + GAP);
|
message.setPos(0, titlebar.bottom() + GAP);
|
||||||
add( message );
|
add( message );
|
||||||
|
|
||||||
RedButton btnWand1 = new RedButton( Wandmaker.Quest.wand1.name() ) {
|
RedButton btnWand1 = new RedButton( Messages.titleCase(Wandmaker.Quest.wand1.name()) ) {
|
||||||
@Override
|
@Override
|
||||||
protected void onClick() {
|
protected void onClick() {
|
||||||
selectReward( wandmaker, item, Wandmaker.Quest.wand1 );
|
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);
|
btnWand1.setRect(0, message.top() + message.height() + GAP, WIDTH, BTN_HEIGHT);
|
||||||
add( btnWand1 );
|
add( btnWand1 );
|
||||||
|
|
||||||
RedButton btnWand2 = new RedButton( Wandmaker.Quest.wand2.name() ) {
|
RedButton btnWand2 = new RedButton( Messages.titleCase(Wandmaker.Quest.wand2.name()) ) {
|
||||||
@Override
|
@Override
|
||||||
protected void onClick() {
|
protected void onClick() {
|
||||||
selectReward( wandmaker, item, Wandmaker.Quest.wand2 );
|
selectReward( wandmaker, item, Wandmaker.Quest.wand2 );
|
||||||
|
|
Loading…
Reference in New Issue
Block a user