mirror of
https://github.com/4ian/GDevelop.git
synced 2025-10-15 10:19:04 +00:00
Add getJsonManager to gdjs.RuntimeGame
This commit is contained in:
@@ -107,6 +107,15 @@ gdjs.RuntimeGame.prototype.getInputManager = function() {
|
||||
return this._inputManager;
|
||||
};
|
||||
|
||||
/**
|
||||
* Get the JSON manager of the game, used to load JSON from game
|
||||
* resources.
|
||||
* @return {gdjs.JsonManager} The json manager for the game
|
||||
*/
|
||||
gdjs.RuntimeGame.prototype.getJsonManager = function() {
|
||||
return this._jsonManager;
|
||||
};
|
||||
|
||||
/**
|
||||
* Get the object containing the game data
|
||||
* @return {Object} The object associated to the game.
|
||||
|
Reference in New Issue
Block a user