v0.3.4 externalized journal strings

This commit is contained in:
Evan Debenham
2015-12-31 00:13:13 -05:00
committed by Evan Debenham
parent c1d55bcd77
commit c16ae2ac0b
3 changed files with 28 additions and 18 deletions
@@ -22,28 +22,27 @@ package com.shatteredpixel.shatteredpixeldungeon;
import java.util.ArrayList;
import com.shatteredpixel.shatteredpixeldungeon.messages.Messages;
import com.watabou.utils.Bundlable;
import com.watabou.utils.Bundle;
public class Journal {
public static enum Feature {
WELL_OF_HEALTH ( "Well of Health" ),
WELL_OF_AWARENESS ( "Well of Awareness" ),
WELL_OF_TRANSMUTATION ( "Well of Transmutation" ),
ALCHEMY ( "Alchemy pot" ),
GARDEN ( "Garden" ),
STATUE ( "Animated statue" ),
public enum Feature {
WELL_OF_HEALTH,
WELL_OF_AWARENESS,
WELL_OF_TRANSMUTATION,
ALCHEMY,
GARDEN,
STATUE,
GHOST ( "Sad ghost" ),
WANDMAKER ( "Old wandmaker" ),
TROLL ( "Troll blacksmith" ),
IMP ( "Ambitious imp" );
public String desc;
private Feature( String desc ) {
this.desc = desc;
GHOST,
WANDMAKER,
TROLL,
IMP;
public String desc() {
return Messages.get(this, name());
}
};