ChaiLove API
0.28.0
|
In-game console for ChaiLove. More...
Public Member Functions | |
bool | isEnabled () |
Checks to see if the console is enabled. More... | |
bool | setEnabled (bool enabled) |
Enable or disable the console. More... | |
bool | isShown () |
Checks whether or not the console is being displayed. | |
In-game console for ChaiLove.
To enable the console, you must trigger: love.console.setEnabled(true)
or toggle the console in love.conf
.
Once enabled, display the console by pressing the tilde key on your keyboard. Running commands will execute ChaiScript. For example, try running love.system.getOS()
.
bool love::console::isEnabled | ( | ) |
Checks to see if the console is enabled.
bool love::console::setEnabled | ( | bool | enabled | ) |
Enable or disable the console.