phaser/v3/src/boot/Game.js

18 lines
397 B
JavaScript
Raw Normal View History

2016-10-17 20:22:55 +00:00
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2016 Photon Storm Ltd.
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
*/
var Config = require('./Config');
2016-11-22 03:32:41 +00:00
var DebugHeader = require('./DebugHeader');
2016-11-22 03:11:33 +00:00
var Game = function (config)
2016-11-22 03:11:33 +00:00
{
this.config = new Config(config);
2016-11-24 15:40:05 +00:00
DebugHeader(this);
2016-11-22 03:32:41 +00:00
};
2016-10-17 20:22:55 +00:00
2016-11-22 03:11:33 +00:00
module.exports = Game;