Package zombie.core
Class GameVersion
java.lang.Object
zombie.core.GameVersion
public final class GameVersion
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description GameVersion(int int1, int int2, java.lang.String string)
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object object)
int
getInt()
int
getMajor()
int
getMinor()
java.lang.String
getSuffix()
boolean
isGreaterThan(GameVersion gameVersion)
boolean
isGreaterThanOrEqualTo(GameVersion gameVersion)
boolean
isLessThan(GameVersion gameVersion)
boolean
isLessThanOrEqualTo(GameVersion gameVersion)
static GameVersion
parse(java.lang.String string)
java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
GameVersion
public GameVersion(int int1, int int2, java.lang.String string)
-
-
Method Details
-
getMajor
public int getMajor() -
getMinor
public int getMinor() -
getSuffix
public java.lang.String getSuffix() -
getInt
public int getInt() -
isGreaterThan
-
isGreaterThanOrEqualTo
-
isLessThan
-
isLessThanOrEqualTo
-
equals
public boolean equals(java.lang.Object object)- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
parse
-