package catchemrpg.language;
import catchemrpg.persistency.LanguageFileIO;
import java.util.ArrayList;
/**
* A language object that contains all internationalized strings. Use BaseVars.lang
* Doing this way is laborious and boring, but a little bit quicker from the POV
* of the language key lookups.
* @author Toby Pinder (Gigitrix)
*/
public class Language {
//NEW STUFF
/**
* Window Title
*/
public String ui$windowTitle = "";
/**
* Statistics
*/
public String ui$statistics = "";
/**
* Name
*/
public String ui$name = "";
/**
* Category
*/
public String ui$category = "";
/**
* Type
*/
public String ui$type = "";
/**
* HP
*/
public String ui$HP = "";
/**
* Att
*/
public String ui$att = "";
/**
* Def
*/
public String ui$def = "";
/**
* Critical
*/
public String ui$critical = "";
/**
* Evade
*/
public String ui$evade = "";
/**
* Block
*/
public String ui$block = "";
/**
* Happiness
*/
public String ui$happiness = "";
/**
* Attachment
*/
public String ui$attachment = "";
/**
* EXP (sometimes referred to as AP)
*/
public String ui$exp = "";
/**
* Kills
*/
public String ui$kills = "";
/**
* Deaths
*/
public String ui$deaths = "";
/**
* Game Over
*/
public String ui$gameOver = "";
/**
* Lost Battle
*/
public String ui$lostBattle = "";
/**
* Won Battle
*/
public String ui$wonBattle = "";
/**
* You lost * hitpoints due to an attack by *
*/
public String ui$youLostHP = "";
/**
* Enemy lost * HP due to an attack by *
*/
public String ui$enemyLostHP = "";
/**
* You fainted
*/
public String ui$youFainted = "";
/**
* gained EXP
*/
public String ui$gainedEXP = "";
/**
* ArrayList of character speech.
*/
public ArrayList<String> mapSpeech = new ArrayList<String>();
/**
* ArrayList of monster metadata.
*/
public ArrayList<String> monsterNames = new ArrayList<String>();
/**
* ArrayList of monster metadata.
*/
public ArrayList<String> monsterCat1s = new ArrayList<String>();
/**
* ArrayList of monster metadata.
*/
public ArrayList<String> monsterCat2s = new ArrayList<String>();
/**
* ArrayList of monster metadata.
*/
public ArrayList<String> monsterDescs = new ArrayList<String>();
public static void init()
{
LanguageFileIO languageLoader = new LanguageFileIO();
languageLoader.loadProperties();
languageLoader.loadMainStrings();
//remember to call this function everytime we need to change maps
System.out.println("HERE");
languageLoader.loadMapStrings();
//initialise language strings for creature names etc.
languageLoader.loadCreatureMetadataStrings();
}
/**
* Should initialise ALL language objects.
*
*/
public Language()
{
}
}