bitburner-src/markdown/bitburner.userinterface.md
omuretsu 06a985bdf8 Revert "Remove markdown from git tracking (#139)"
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
2022-10-21 11:16:00 -04:00

1.3 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
windowSize() Get the current window size