v0.3.4: moved capitalization to Messages, added title case functionality, removed Utils

This commit is contained in:
Evan Debenham
2016-01-27 20:11:17 -05:00
committed by Evan Debenham
parent 16426c02ee
commit 551638f972
29 changed files with 71 additions and 89 deletions
@@ -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 );
}
}