bitburner-src/markdown/bitburner.userinterface.md
2022-05-24 08:12:49 -04:00

1.2 KiB

Home > bitburner > UserInterface

UserInterface interface

User Interface API.

Signature:

interface UserInterface 

Methods

Method Description
clearTerminal() Clear the Terminal window, as if the player ran clear in the terminal
getGameInfo() Gets the current game information (version, commit, ...)
getStyles() Get the current styles
getTheme() Get the current theme
resetStyles() Resets the player's styles to the default values
resetTheme() Resets the player's theme to the default values
setStyles(newStyles) Sets the current styles
setTheme(newTheme) Sets the current theme