mirror of
https://github.com/Heretek-AI/GDevelop.git
synced 2026-07-23 02:25:52 -04:00
689904bda5
* This is useful to then inspect the game with the Debugger.
20 lines
378 B
JavaScript
20 lines
378 B
JavaScript
/**
|
|
* @file
|
|
* Tools for interacting with the debugger.
|
|
*/
|
|
|
|
|
|
/**
|
|
* The namespace containing tools to interact with the debugger.
|
|
* @namespace
|
|
*/
|
|
gdjs.evtTools.debugger = {};
|
|
|
|
/**
|
|
* Stop the game execution.
|
|
* @param {gdjs.RuntimeScene} runtimeScene - The current scene.
|
|
*/
|
|
gdjs.evtTools.debugger.pause = function(runtimeScene) {
|
|
runtimeScene.getGame().pause(true);
|
|
}
|