Package megamek
Class SuiteConstants
java.lang.Object
megamek.SuiteConstants
- Direct Known Subclasses:
MMConstants
These are constants that hold across the entire MegaMek Suite of MegaMek, MegaMekLab, and MekHQ.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final List<MilestoneData> A list containing all milestone release data objects, as loaded from the YAML configuration file at startup.static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final VersionTheVersionobject representing the latest (highest) milestone release found inALL_MILESTONE_RELEASES.static final intstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Version -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
PROJECT_NAME
- See Also:
-
VERSION
-
ALL_MILESTONE_RELEASES
A list containing all milestone release data objects, as loaded from the YAML configuration file at startup.This list is initialized by the
MilestoneReleaseLoaderupon class loading, and provides read-only access to all known milestone releases available to the suite. EachMilestoneDatarepresents details such as version number, release notes, and release date for a single milestone. -
LAST_MILESTONE
TheVersionobject representing the latest (highest) milestone release found inALL_MILESTONE_RELEASES.This constant is calculated by determining the highest version among all loaded milestones during class initialization. It provides a convenient way for code and UI to easily access/display the most recent milestone version.
-
MAXIMUM_D6_VALUE
public static final int MAXIMUM_D6_VALUE- See Also:
-
FILENAME_DATE_FORMAT
- See Also:
-
FONT_ARIAL
- See Also:
-
FONT_COURIER_NEW
- See Also:
-
FONT_DIALOG
- See Also:
-
FONT_HELVETICA
- See Also:
-
FONT_MONOSPACED
- See Also:
-
FONT_SANS_SERIF
- See Also:
-
TRUETYPE_FONT
- See Also:
-
SCENARIO_EXT
- See Also:
-
FONT_DIRECTORY
- See Also:
-
MHQ_PREFERENCES_FILE
- See Also:
-
MM_PREFERENCES_FILE
- See Also:
-
MML_PREFERENCES_FILE
- See Also:
-
-
Constructor Details
-
SuiteConstants
protected SuiteConstants()
-