public final class Version extends Object
Example:
final Version version = Version.create(1, 0, 0);
Modifier and Type | Method and Description |
---|---|
static Version |
create(int major,
int minor,
int micro)
Create a new version descriptor.
|
int |
getMajor()
Get the major number of the version.
|
int |
getMicro()
Get the micro number of the version.
|
int |
getMinor()
Get the minor number of the version.
|
String |
toString() |
public static Version create(int major, int minor, int micro)
major
- The major version.minor
- The minor version.micro
- The micro version.public int getMajor()
public int getMinor()
public int getMicro()
Copyright © 2014 Byron 3D Games Studio. All rights reserved.