Class: Debug

Debug()

Debug class for managing the mandatory debugging interface of the simulator. This class initializes the debugging interface using the `lil-gui` library, which is essential for monitoring and controlling the simulation parameters. The debugging interface is mandatory and always active in the simulator.

Constructor

new Debug()

Creates an instance of the Debug class. Initializes the debugging interface with a specified width. The interface is always created because debugging is mandatory.
Source:

Methods

close()

Closes the debugging interface. This method hides the GUI interface.
Source:

dispose()

Disposes of the debugging interface and cleans up resources. This method destroys the `lil-gui` instance, ensuring all associated resources are properly released to avoid memory leaks.
Source:

hide()

Hides the debugging interface. This method hides the entire GUI container.
Source:

show()

Shows the debugging interface. This method shows the GUI container if it was hidden.
Source: