Constructor
new SubmarineDebug(simulator)
Constructor for the SubmarineDebug class.
Sets up submarine related debug controls.
Parameters:
Name | Type | Description |
---|---|---|
simulator |
Simulator | The simulator instance. |
- Source:
Methods
initDebugGUI()
Initializes the debug GUI with submarine attributes and controls.
- Source:
initSelectSubmarineControl()
Initializes the GUI control for selecting the submarine type.
Adds a dropdown menu to the debug GUI allowing users to switch between different submarine types.
- Source: