Showing the changes to libraries/script-engine/src/ScriptEngine.h (1 of 21 files). Show all
Unified · Split
| @@ -41,10 +41,10 @@ public: · 40 unmodified lines | ||
| 41 | 41 | ~ScriptEngine(); |
| 42 | 42 | |
| 43 | 43 | /// Access the VoxelsScriptingInterface in order to initialize it with a custom packet sender and jurisdiction listener |
| 44 | − VoxelsScriptingInterface* getVoxelsScriptingInterface() { return &_voxelsScriptingInterface; } | |
| 44 | + static VoxelsScriptingInterface* getVoxelsScriptingInterface() { return &_voxelsScriptingInterface; } | |
| 45 | 45 | |
| 46 | 46 | /// Access the ParticlesScriptingInterface in order to initialize it with a custom packet sender and jurisdiction listener |
| 47 | − ParticlesScriptingInterface* getParticlesScriptingInterface() { return &_particlesScriptingInterface; } | |
| 47 | + static ParticlesScriptingInterface* getParticlesScriptingInterface() { return &_particlesScriptingInterface; } | |
| 48 | 48 | |
| 49 | 49 | /// Access the DataServerScriptingInterface for access to its underlying UUID |
| 50 | 50 | const DataServerScriptingInterface& getDataServerScriptingInterface() { return _dataServerScriptingInterface; } |