phaser/v3/src/device/index.js

27 lines
722 B
JavaScript
Raw Normal View History

// This singleton is instantiated as soon as Phaser loads,
// before a Phaser.Game instance has even been created.
// Which means all instances of Phaser Games can share it,
// without having to re-poll the device all over again
2016-11-25 04:00:15 +00:00
var OS = require('./OS');
var Browser = require('./Browser');
var Features = require('./Features');
var Input = require('./Input');
2016-11-25 04:33:48 +00:00
var Audio = require('./Audio');
var Video = require('./Video');
var Fullscreen = require('./Fullscreen');
var CanvasFeatures = require('./CanvasFeatures');
2016-11-25 04:00:15 +00:00
module.exports = {
OS: OS,
Browser: Browser,
Features: Features,
Input: Input,
Audio: Audio,
Video: Video,
Fullscreen: Fullscreen,
CanvasFeatures: CanvasFeatures
2016-11-25 04:00:15 +00:00
};