|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jurpe.system.Config
public class Config
This class contains configuration strings.
Field Summary | |
---|---|
static java.lang.String |
APPNAME
Application Name |
static int |
AVAILABLE_POINTS
PCharacter points available |
static int |
AVAILABLEMONSTERSPICS
Maximum number of monsters in the bestiary |
static int |
CHARACTER_POINTS
PCharacter Points At Start |
static java.lang.String |
CHAREXTENSION
Extension for character types |
static java.lang.String |
CONFIGXML
|
static java.lang.String |
DATPATH
Path in which application can find data (ie: xml files) |
static java.lang.String |
DICTIONARYXML
Complete path to monster dictionary |
static float |
DOORSPERCENTAGE
Percentage of doors in dungeon |
static java.lang.String |
HIGHSCORESFILE
Complete path to tutorial file |
static int |
INITIAL_MONEY
Initial Money |
static int |
LOOTABLES
Max number of lootables per dungeon level |
static int |
MAXLOGSIZE
Maximum number of rows in the system log |
static int |
MAXMONSTERLEVEL
Maximunum level (in CP) for monsters in the bestiary |
static java.lang.String |
SHOPXML
Name of Bottega.xml which contains Shop. |
static java.lang.String |
SKILLXML
Name of file Abilita.xml |
static java.lang.String |
SYSTEMFILE
File in which serialize playing Character |
static java.lang.String |
VERSION
Version |
Constructor Summary | |
---|---|
Config()
|
Method Summary | |
---|---|
static java.lang.String |
addDatPathTo(java.lang.String resource)
Add to a file name the pre-configured path. |
static java.lang.String[] |
getFiles()
Get absolute path of all files needed by the library. |
static void |
loadValues()
Use this static method to initialize values from an external config.xml file |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CONFIGXML
public static final java.lang.String APPNAME
public static final java.lang.String SYSTEMFILE
public static final java.lang.String CHAREXTENSION
public static final java.lang.String VERSION
public static int CHARACTER_POINTS
public static int AVAILABLE_POINTS
public static int INITIAL_MONEY
public static java.lang.String DATPATH
public static java.lang.String SHOPXML
public static java.lang.String SKILLXML
public static java.lang.String HIGHSCORESFILE
public static java.lang.String DICTIONARYXML
public static int MAXMONSTERLEVEL
public static int MAXLOGSIZE
public static int AVAILABLEMONSTERSPICS
public static float DOORSPERCENTAGE
public static int LOOTABLES
Constructor Detail |
---|
public Config()
Method Detail |
---|
public static java.lang.String addDatPathTo(java.lang.String resource)
resource
- file name without path
public static void loadValues() throws JurpeException
JurpeException
public static java.lang.String[] getFiles()
|
Jurpe - Java Universal Role Playing Engine - http://jurpe.sourceforge.net | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |