phaser/src/device/index.js

28 lines
776 B
JavaScript
Raw Normal View History

2018-02-12 16:01:20 +00:00
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2018 Photon Storm Ltd.
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
*/
// 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
*/
2016-11-25 04:00:15 +00:00
module.exports = {
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
};