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
|
|
|
|
|
2018-01-31 13:54:44 +00:00
|
|
|
/**
|
|
|
|
* @namespace Phaser.Device
|
|
|
|
*/
|
2017-06-30 14:47:51 +00:00
|
|
|
|
2016-11-25 04:00:15 +00:00
|
|
|
module.exports = {
|
|
|
|
|
2018-01-25 17:03:35 +00:00
|
|
|
os: require('./OS'),
|
|
|
|
browser: require('./Browser'),
|
|
|
|
features: require('./Features'),
|
|
|
|
input: require('./Input'),
|
|
|
|
audio: require('./Audio'),
|
|
|
|
video: require('./Video'),
|
|
|
|
fullscreen: require('./Fullscreen'),
|
|
|
|
canvasFeatures: require('./CanvasFeatures')
|
2016-11-25 04:00:15 +00:00
|
|
|
|
|
|
|
};
|