mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-08 16:53:54 +01:00
06a985bdf8
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
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 |