Package net.risingworld.api.utils
Class Utils
java.lang.Object
net.risingworld.api.utils.Utils
Utils class which holds several static classes with various static helper functions.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classContains various array-related helper methods.static classContains various byte functions, i.e encryption and compression of byte arrays etc.static classChunk related functions, including conversion of global positions to chunk/block positions and vice versa.static classContains various file function, including file access, reading or writing to files, or getting the md5 checksum of a file.static classGeneral game related functions.static classImage utils.static classContains useful math functions.static classVarious String functions, i.e functions to check if certain strings are numeric, getting checksums of strings, and conversion utils.static classVarious system functions providing access to information about the underlying hardware and operating system.static classVector functions. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intY position where the orbit ends (transition end)lstatic final intY position where the orbit begins (transition start)static final intSea level -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
SEA_LEVEL
public static final int SEA_LEVELSea level -
ORBIT_START
public static final int ORBIT_STARTY position where the orbit begins (transition start) -
ORBIT_END
public static final int ORBIT_ENDY position where the orbit ends (transition end)l
-
-
Constructor Details
-
Utils
public Utils()
-