Java Universal Role Playing Engine Version 0.3.9

jurpe.system
Class Config

java.lang.Object
  extended by jurpe.system.Config

public class Config
extends java.lang.Object

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 java.awt.Color AVATAR_FORE
          Avatar and Dungeon Colors
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 java.awt.Color DOOR_COLOR
           
static float DOORSPERCENTAGE
          Percentage of doors in dungeon
static java.awt.Color GUNSIGHT_FORE
           
static java.awt.Color HEXAGON_COLOR
           
static int HEXAGON_HEIGHT
           
static int HEXAGON_WIDTH
           
static int HEXCELL_HEIGHT
          Dungeon hexmap dimensions
static int HEXCELL_WIDTH
           
static java.lang.String HIGHSCORESFILE
          Complete path to tutorial file
static java.awt.Color HOUSE_COLOR
           
static int INITIAL_MONEY
          Initial Money
static java.awt.Color INN_COLOR
           
static int LOOTABLES
          Max number of lootables per dungeon level
static java.awt.Color MAGES_COLOR
           
static java.lang.String MAGESGUILDDIALOG
          Name of jurpe background image
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.awt.Color MAZE_BACKGROUND
           
static java.awt.Color MONSTER_FORE
           
static java.lang.String RESOURCES
          Resources jar file
static java.awt.Color SHOP_COLOR
          Dungeon locations colors
static java.lang.String SHOPXML
          Name of Bottega.xml which contains Shop.
static java.awt.Color SIGN_COLOR
           
static java.lang.String SKILLXML
          Name of file Abilita.xml
static java.awt.Color STAIRS_DOWN_COLOR
           
static java.awt.Color STAIRS_UP_COLOR
           
static java.lang.String SYSTEMFILE
          File in which serialize playing Character
static java.awt.Color TRAINER_COLOR
           
static java.awt.Color TREE_COLOR
           
static java.lang.String VERSION
          Version
static java.awt.Color VISITED_COLOR
           
static java.awt.Color WALL_COLOR
           
 
Constructor Summary
Config()
           
 
Method Summary
static java.lang.String addDatPathTo(java.lang.String resource)
          Add to a file name the pre-configured path.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONFIGXML

public static final java.lang.String CONFIGXML
See Also:
Constant Field Values

APPNAME

public static final java.lang.String APPNAME
Application Name

See Also:
Constant Field Values

SYSTEMFILE

public static final java.lang.String SYSTEMFILE
File in which serialize playing Character

See Also:
Constant Field Values

CHAREXTENSION

public static final java.lang.String CHAREXTENSION
Extension for character types

See Also:
Constant Field Values

VERSION

public static final java.lang.String VERSION
Version

See Also:
Constant Field Values

RESOURCES

public static final java.lang.String RESOURCES
Resources jar file

See Also:
Constant Field Values

CHARACTER_POINTS

public static int CHARACTER_POINTS
PCharacter Points At Start


AVAILABLE_POINTS

public static int AVAILABLE_POINTS
PCharacter points available


INITIAL_MONEY

public static int INITIAL_MONEY
Initial Money


DATPATH

public static java.lang.String DATPATH
Path in which application can find data (ie: xml files)


SHOPXML

public static java.lang.String SHOPXML
Name of Bottega.xml which contains Shop.


SKILLXML

public static java.lang.String SKILLXML
Name of file Abilita.xml


HIGHSCORESFILE

public static java.lang.String HIGHSCORESFILE
Complete path to tutorial file


MAGESGUILDDIALOG

public static java.lang.String MAGESGUILDDIALOG
Name of jurpe background image


DICTIONARYXML

public static java.lang.String DICTIONARYXML
Complete path to monster dictionary


MAXMONSTERLEVEL

public static int MAXMONSTERLEVEL
Maximunum level (in CP) for monsters in the bestiary


MAXLOGSIZE

public static int MAXLOGSIZE
Maximum number of rows in the system log


AVAILABLEMONSTERSPICS

public static int AVAILABLEMONSTERSPICS
Maximum number of monsters in the bestiary


DOORSPERCENTAGE

public static float DOORSPERCENTAGE
Percentage of doors in dungeon


LOOTABLES

public static int LOOTABLES
Max number of lootables per dungeon level


HEXCELL_HEIGHT

public static final int HEXCELL_HEIGHT
Dungeon hexmap dimensions

See Also:
Constant Field Values

HEXCELL_WIDTH

public static final int HEXCELL_WIDTH
See Also:
Constant Field Values

HEXAGON_HEIGHT

public static final int HEXAGON_HEIGHT
See Also:
Constant Field Values

HEXAGON_WIDTH

public static final int HEXAGON_WIDTH
See Also:
Constant Field Values

SHOP_COLOR

public static final java.awt.Color SHOP_COLOR
Dungeon locations colors


TRAINER_COLOR

public static final java.awt.Color TRAINER_COLOR

STAIRS_UP_COLOR

public static final java.awt.Color STAIRS_UP_COLOR

STAIRS_DOWN_COLOR

public static final java.awt.Color STAIRS_DOWN_COLOR

TREE_COLOR

public static final java.awt.Color TREE_COLOR

HOUSE_COLOR

public static final java.awt.Color HOUSE_COLOR

INN_COLOR

public static final java.awt.Color INN_COLOR

MAGES_COLOR

public static final java.awt.Color MAGES_COLOR

SIGN_COLOR

public static final java.awt.Color SIGN_COLOR

AVATAR_FORE

public static final java.awt.Color AVATAR_FORE
Avatar and Dungeon Colors


MAZE_BACKGROUND

public static final java.awt.Color MAZE_BACKGROUND

GUNSIGHT_FORE

public static final java.awt.Color GUNSIGHT_FORE

MONSTER_FORE

public static final java.awt.Color MONSTER_FORE

WALL_COLOR

public static final java.awt.Color WALL_COLOR

VISITED_COLOR

public static final java.awt.Color VISITED_COLOR

DOOR_COLOR

public static final java.awt.Color DOOR_COLOR

HEXAGON_COLOR

public static final java.awt.Color HEXAGON_COLOR
Constructor Detail

Config

public Config()
Method Detail

addDatPathTo

public static java.lang.String addDatPathTo(java.lang.String resource)
Add to a file name the pre-configured path. IE: Config.addDatPathTo(DemoConfig.BOTTEGAXML) = "dat/bottega.xml"

Parameters:
resource - file name without path
Returns:
platform independant complete file path to resource

Java Universal Role Playing Engine Version 0.3.9

Copyright ? 2010 http://jurpe.sourceforge.net/ All Rights Reserved.