phaser/v3/src/device/index.js

24 lines
553 B
JavaScript
Raw Normal View History

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');
2016-11-25 04:00:15 +00:00
var os = OS();
var browser = Browser(os);
module.exports = {
// Doing this makes it available under Device.OS
OS: os,
Browser: browser,
Features: Features(os, browser),
2016-11-25 04:33:48 +00:00
Input: Input(os, browser),
Audio: Audio(os, browser),
Video: Video(os, browser),
Fullscreen: Fullscreen()
2016-11-25 04:00:15 +00:00
};