forked from phaserjs/phaser
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.js
More file actions
41 lines (35 loc) · 1.39 KB
/
Copy pathindex.js
File metadata and controls
41 lines (35 loc) · 1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2020 Photon Storm Ltd.
* @license {@link https://opensource.org/licenses/MIT|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
/**
* @namespace Phaser.Device
* @since 3.0.0
*/
/**
* @typedef {object} Phaser.DeviceConf
*
* @property {Phaser.Device.OS} os - The OS Device functions.
* @property {Phaser.Device.Browser} browser - The Browser Device functions.
* @property {Phaser.Device.Features} features - The Features Device functions.
* @property {Phaser.Device.Input} input - The Input Device functions.
* @property {Phaser.Device.Audio} audio - The Audio Device functions.
* @property {Phaser.Device.Video} video - The Video Device functions.
* @property {Phaser.Device.Fullscreen} fullscreen - The Fullscreen Device functions.
* @property {Phaser.Device.CanvasFeatures} canvasFeatures - The Canvas Device functions.
*/
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')
};