mirror of
https://github.com/photonstorm/phaser
synced 2024-12-23 19:43:28 +00:00
20 lines
473 B
JavaScript
20 lines
473 B
JavaScript
|
/**
|
||
|
* @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 CONST = require('../const');
|
||
|
|
||
|
function Config (config)
|
||
|
{
|
||
|
if (config === undefined) { config = {}; }
|
||
|
|
||
|
this.renderType = config.renderType || 0;
|
||
|
this.gameTitle = config.game || 'bomberman';
|
||
|
}
|
||
|
|
||
|
Config.prototype.constructor = Config;
|
||
|
|
||
|
module.exports = Config;
|