Package mindustry.core
Class Version
java.lang.Object
mindustry.core.Version
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
type
Build type. 'official' for official releases; 'custom' or 'bleeding edge' are also used. -
modifier
Build modifier, e.g. 'alpha' or 'release' -
number
public static int numberNumber specifying the major version, e.g. '4' -
build
public static int buildBuild number, e.g. '43'. set to '-1' for custom builds. -
revision
public static int revisionRevision number. Used for hotfixes. Does not affect server compatibility. -
enabled
public static boolean enabledWhether version loading is enabled.
-
-
Constructor Details
-
Version
public Version()
-
-
Method Details
-
init
public static void init() -
isAtLeast
- Returns:
- whether the current game version is greater than the specified version string, e.g. "120.1"
-
isAtLeast
- Returns:
- whether the version numbers are greater than the specified version string, e.g. "120.1"
-
buildString
-
combined
get menu version without colors
-