Files
moon-gaming/games/New folder/Extensions/SystemInfo/systeminfotools.js
T
2023-11-23 20:37:33 +00:00

3 lines
609 B
JavaScript

var gdjs;(function(o){let a;(function(t){let i;(function(e){let r=null;e.isMobile=()=>o.evtTools.common.isMobile(),e.isNativeMobileApp=()=>typeof window!="undefined"&&window.cordova,e.isNativeDesktopApp=n=>!!n.getGame().getRenderer().getElectron();const u=()=>e.isMobile()?!0:!!navigator.maxTouchPoints&&navigator.maxTouchPoints>2;e.hasTouchScreen=()=>r!==null?r:r=u(),e.isWebGLSupported=n=>n.getGame().getRenderer().isWebGLSupported(),e.isPreview=n=>n.getGame().isPreview()})(i=t.systemInfo||(t.systemInfo={}))})(a=o.evtTools||(o.evtTools={}))})(gdjs||(gdjs={}));
//# sourceMappingURL=systeminfotools.js.map