|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.freecol.FreeCol
public final class FreeCol
This class is responsible for handling the command-line arguments and starting either the stand-alone server or the client-GUI.
FreeColClient,
FreeColServer| Field Summary | |
|---|---|
static java.lang.String |
COPYRIGHT
|
static java.lang.String |
LICENSE
|
static java.lang.String |
META_SERVER_ADDRESS
|
static int |
META_SERVER_PORT
|
static java.lang.String |
REVISION
|
static Specification |
specification
|
| Method Summary | |
|---|---|
static java.io.File |
getAutosaveDirectory()
Returns the directory where the autogenerated savegames should be put. |
static java.io.File |
getSaveDirectory()
Returns the directory where the savegames should be put. |
static java.lang.String |
getVersion()
Gets the current version of game. |
static boolean |
isInDebugMode()
Checks if the program is in "Debug mode". |
static void |
main(java.lang.String[] args)
The entrypoint. |
static void |
setInDebugMode(boolean debug)
Sets the "debug mode" to be active or not. |
| 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 COPYRIGHT
public static final java.lang.String LICENSE
public static final java.lang.String REVISION
public static final Specification specification
public static final java.lang.String META_SERVER_ADDRESS
public static final int META_SERVER_PORT
| Method Detail |
|---|
public static void main(java.lang.String[] args)
args - The command-line arguments.public static java.io.File getSaveDirectory()
public static java.io.File getAutosaveDirectory()
public static java.lang.String getVersion()
public static boolean isInDebugMode()
true if the program is in debug
mode and false otherwise.public static void setInDebugMode(boolean debug)
debug - Should be true in order
to active debug mode and false
otherwise.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||