|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmahjong.Main
public class Main
Main entry point to the mahjong game. Contains only static methods.
Field Summary | |
---|---|
private static java.lang.String |
BOARDDEFAULT
Default board layout. |
private static java.lang.String |
BOARDDIR
Name of board layout directory. |
private static java.lang.String |
boardName
Name of board layout file. |
private static long |
seed
Random seed, for repeatability. |
private static java.lang.String |
tileDir
Mutable directory where the individual tiles are found. |
private static java.lang.String |
TILEDIR
Directory where the individual tiles are found. |
private static java.lang.String |
TILESET
Name of actual tileset file. |
private static java.lang.String |
tileSetFile
Mutable name of tileset file. |
Constructor Summary | |
---|---|
Main()
|
Method Summary | |
---|---|
static java.lang.String |
getTileDir()
Getter for the tile set directory name. |
static java.lang.String |
getTileSetFile()
Getter for the the tile set file name. |
static void |
help()
Displays default usage flags. |
static void |
main(java.lang.String[] args)
|
private static void |
parse(java.lang.String[] args)
Method to parse argument array and set appropriate values. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final java.lang.String TILEDIR
private static final java.lang.String TILESET
private static final java.lang.String BOARDDIR
private static final java.lang.String BOARDDEFAULT
private static java.lang.String tileDir
private static java.lang.String tileSetFile
private static long seed
private static java.lang.String boardName
Constructor Detail |
---|
public Main()
Method Detail |
---|
public static void main(java.lang.String[] args)
args
- public static void help()
private static void parse(java.lang.String[] args)
args
- The argument array given to main.public static java.lang.String getTileSetFile()
public static java.lang.String getTileDir()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |