Uses of Class
org.xjge.core.Split
Package | Description |
---|---|
org.xjge.core |
Contains various classes, objects, and utilities many of which are essential
to the function of the engine.
|
-
Uses of Split in org.xjge.core
Methods in org.xjge.core that return Split Modifier and Type Method Description static Split
XJGE. getScreenSplit()
Obtains the current split value used to divide the screen.static Split
Split. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Split[]
Split. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.xjge.core with parameters of type Split Modifier and Type Method Description static void
XJGE. setScreenSplit(Split split)
Sets the current split value the engine will use to divide the screen during split screen mode.abstract void
Widget. setSplitPosition(Split split, int viewportWidth, int viewportHeight)
Called automatically anytime a change to the applications viewports occurs.Using this method, widgets can update the positions of their elements to better suit the size of the viewport.