|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dartra.textui.PlayDarts
Play a game of darts using the text UI. This class implements a stand-alone launcher for the text UI game runner.
GameRunner| Field Summary | |
static java.lang.String |
DAO_FACTORY_CONFIG_KEY
Key of the data access object (DAO) factory used for data persistence. |
static java.lang.String |
DATA_SOURCE_CONFIG_KEY
Key of the data source object used for data persistence. |
static java.lang.String |
GAME_CONFIG_KEY
Key of the game object that will be played in the configuration map. |
| Constructor Summary | |
PlayDarts()
|
|
| Method Summary | |
static void |
main(java.lang.String[] args)
Fire up the text UI as a stand-alone program. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String GAME_CONFIG_KEY
Key of the game object that will be played in the configuration map.
public static final java.lang.String DATA_SOURCE_CONFIG_KEY
Key of the data source object used for data persistence. This is an optional property. When not present, no persistence is done.
public static final java.lang.String DAO_FACTORY_CONFIG_KEY
Key of the data access object (DAO) factory used for data persistence. This is an optional property. When not present, no persistence is done.
| Constructor Detail |
public PlayDarts()
| Method Detail |
public static void main(java.lang.String[] args)
Fire up the text UI as a stand-alone program.
A single command line argument is supported: the name of the configuration file to use. When not provided, this will default to "playdarts.bsh", read from the launch directory.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||