v0.3.4: moved capitalization to Messages, added title case functionality, removed Utils
This commit is contained in:
committed by
Evan Debenham
parent
16426c02ee
commit
551638f972
@@ -21,11 +21,11 @@
|
||||
package com.shatteredpixel.shatteredpixeldungeon.windows;
|
||||
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.mobs.npcs.NPC;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.utils.Utils;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.messages.Messages;
|
||||
|
||||
public class WndQuest extends WndTitledMessage {
|
||||
|
||||
public WndQuest( NPC questgiver, String text ) {
|
||||
super( questgiver.sprite(), Utils.capitalize( questgiver.name ), text );
|
||||
super( questgiver.sprite(), Messages.titleCase( questgiver.name ), text );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user