mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-27 01:53:48 +01:00
1.3 KiB
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 |