|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jurpe.system.Config jurpedemo.JurpeDemoConfig
public class JurpeDemoConfig
Configuration values for jurpedemo. Static values are initially filled with default values. They may be loaded from an external file DemoConfig.DEMOCONFIGXML. When you use DemoConfig, you initialize also jurpe.system.Config. The loaded values are the ones of Config and the ones of DemoConfig.
JurpeDemoConfig
Field Summary | |
---|---|
static java.awt.Color |
AVATAR_FORE
Avatar and Dungeon Colors |
static java.awt.Color |
DOOR_COLOR
|
static short |
DUNGEON_HEIGHT
|
static short |
DUNGEON_WIDTH
Dungeon hexmap dimensions |
static EnabledDisabled |
FASTLOG
If combat fast log is enabled |
static java.awt.Dimension |
FRAMESIZE
GUI Window Dimensions |
static java.lang.String |
GAMESTRINGSXML
Game Strings |
static java.awt.Color |
HEXAGON_COLOR
|
static int |
HEXAGON_HEIGHT
|
static int |
HEXAGON_WIDTH
|
static int |
HEXCELL_HEIGHT
|
static int |
HEXCELL_WIDTH
|
static java.lang.String |
HTMLTUTORIAL
Tutorial file |
static int |
INITIAL_DUNGEON_LEVELS
These is the number of dungeons initially created and persisted |
static java.lang.String |
INNIMAGE
Name of inn image |
static java.lang.String |
JURPEBAKGIF
Name of jurpe background image |
static java.lang.String |
JURPEJPG
Name of jurpeicon image |
static java.lang.String |
JURPESWORDS
Name of jurpeicon image |
static java.lang.String |
JURPETOPBARJPG
Name of jurpe topbar image |
static JurpeLookAndFeel |
LOOKANDFEEL
Startup application Look And Feel. |
static java.awt.Color |
MAZE_BACKGROUND
|
static java.lang.String |
METALCOLOR
Background color for Metal/CDE Look And Feel |
static java.awt.Dimension |
PANELSIZE
Panel Dimensions |
static java.lang.String |
TEMPVILLAGEFILE
Temporary village file |
static short |
VILLAGE_HEIGHT
|
static short |
VILLAGE_WIDTH
|
static java.awt.Color |
WALL_COLOR
|
static java.lang.String |
WINDOWSCOLOR
Background color for Windows Look And Feel |
Fields inherited from class jurpe.system.Config |
---|
APPNAME, AVAILABLE_POINTS, AVAILABLEMONSTERSPICS, CHARACTER_POINTS, CHAREXTENSION, CONFIGXML, DATPATH, DICTIONARYXML, DOORSPERCENTAGE, HIGHSCORESFILE, INITIAL_MONEY, LOOTABLES, MAXLOGSIZE, MAXMONSTERLEVEL, SHOPXML, SKILLXML, SYSTEMFILE, VERSION |
Constructor Summary | |
---|---|
JurpeDemoConfig()
|
Method Summary | |
---|---|
static java.awt.Color |
getBackGroundColor(boolean metal)
Get RGB coordinates for the 2 default GUI background colors. |
static java.lang.String[] |
getDemoFiles()
Get absolute path of all files needed to start demo application. |
static void |
loadValues()
Use this static method to initialize values from an external config.xml file |
Methods inherited from class jurpe.system.Config |
---|
addDatPathTo, getFiles |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.awt.Dimension FRAMESIZE
public static final java.awt.Dimension PANELSIZE
public static java.awt.Color AVATAR_FORE
public static java.awt.Color MAZE_BACKGROUND
public static java.awt.Color WALL_COLOR
public static java.awt.Color DOOR_COLOR
public static java.awt.Color HEXAGON_COLOR
public static final short DUNGEON_WIDTH
public static final short DUNGEON_HEIGHT
public static final short VILLAGE_WIDTH
public static final short VILLAGE_HEIGHT
public static final int HEXAGON_HEIGHT
public static final int HEXAGON_WIDTH
public static final int HEXCELL_HEIGHT
public static final int HEXCELL_WIDTH
public static final int INITIAL_DUNGEON_LEVELS
public static java.lang.String HTMLTUTORIAL
public static java.lang.String TEMPVILLAGEFILE
public static java.lang.String JURPESWORDS
public static java.lang.String INNIMAGE
public static java.lang.String JURPETOPBARJPG
public static java.lang.String JURPEBAKGIF
public static java.lang.String JURPEJPG
public static java.lang.String GAMESTRINGSXML
public static java.lang.String WINDOWSCOLOR
public static java.lang.String METALCOLOR
public static JurpeLookAndFeel LOOKANDFEEL
public static EnabledDisabled FASTLOG
Constructor Detail |
---|
public JurpeDemoConfig()
Method Detail |
---|
public static java.awt.Color getBackGroundColor(boolean metal) throws JurpeException
metal
- If true, it will return the Metal backround, else the beige
one.
JurpeException
public static void loadValues() throws JurpeException
JurpeException
public static java.lang.String[] getDemoFiles()
Config.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 |