2016-11-26 01:28:53 +00:00
|
|
|
// 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');
|
2017-01-18 14:09:26 +00:00
|
|
|
var CanvasFeatures = require('./CanvasFeatures');
|
2016-11-25 04:00:15 +00:00
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
|
2016-11-26 01:28:53 +00:00
|
|
|
OS: OS,
|
|
|
|
Browser: Browser,
|
|
|
|
Features: Features,
|
|
|
|
Input: Input,
|
|
|
|
Audio: Audio,
|
|
|
|
Video: Video,
|
2017-01-18 14:09:26 +00:00
|
|
|
Fullscreen: Fullscreen,
|
|
|
|
CanvasFeatures: CanvasFeatures
|
2016-11-25 04:00:15 +00:00
|
|
|
|
|
|
|
};
|