- Object
-
- Version
-
public final class Version extends Object
The version of the engine.- Since:
- 1.0.0
- Version:
- 4.0.2
- Author:
- William Bittle
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
getMajorNumber()
Returns the major version number.static int
getMinorNumber()
Returns the minor version number.static int
getRevisionNumber()
Returns the revision number.static String
getVersion()
Returns the version as a string.static int[]
getVersionNumbers()
Returns the version numbers in an array of ints.static void
main(String[] args)
Main class to print the version to the console.
-
-
-
Method Detail
-
getVersion
public static final String getVersion()
Returns the version as a string.- Returns:
- String
-
getVersionNumbers
public static final int[] getVersionNumbers()
Returns the version numbers in an array of ints.The array is of length 3 and has the major, minor, and revision numbers in that order.
- Returns:
- int[] the major, minor, and revision numbers
- Since:
- 3.1.0
-
getMajorNumber
public static final int getMajorNumber()
Returns the major version number.- Returns:
- int
- Since:
- 3.1.0
-
getMinorNumber
public static final int getMinorNumber()
Returns the minor version number.- Returns:
- int
- Since:
- 3.1.0
-
getRevisionNumber
public static final int getRevisionNumber()
Returns the revision number.- Returns:
- int
- Since:
- 3.1.0
-
main
public static final void main(String[] args)
Main class to print the version to the console.- Parameters:
args
- command line arguments (none accepted)
-
-