battlecore::screens
The screens module reads and sets the current screen, and navigates the screen roller. Include its declarations with include "./battlecore/screens.bst";.
getScreen
Returns the name of the current screen.
native string battlecore::screens.getScreen ();setScreen
Sets the current screen by name.
native void battlecore::screens.setScreen (string screenName);getRollerIndex
Returns the current roller index.
native int battlecore::screens.getRollerIndex ();rollerPrev
Moves the roller to the previous item.
native void battlecore::screens.rollerPrev ();rollerNext
Moves the roller to the next item.
native void battlecore::screens.rollerNext ();