Home > bitburner > UserInterface
User Interface API.
Signature:
interface UserInterface
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 |
windowSize() | Get the current window size |