mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 13:13:43 +00:00
Moved constructors
This commit is contained in:
parent
2f605250b3
commit
8952c1d578
3 changed files with 9 additions and 9 deletions
|
@ -5,17 +5,17 @@ var Device = require('../device');
|
||||||
|
|
||||||
var AddToDOM = require('../dom/AddToDOM');
|
var AddToDOM = require('../dom/AddToDOM');
|
||||||
var DOMContentLoaded = require('../dom/DOMContentLoaded');
|
var DOMContentLoaded = require('../dom/DOMContentLoaded');
|
||||||
var VisibilityHandler = require('./VisibilityHandler');
|
|
||||||
var EventDispatcher = require('../events/EventDispatcher');
|
var EventDispatcher = require('../events/EventDispatcher');
|
||||||
|
var VisibilityHandler = require('./VisibilityHandler');
|
||||||
|
|
||||||
var TimeStep = require('./TimeStep');
|
var AnimationManager = require('../animation/manager/AnimationManager');
|
||||||
|
var Cache = require('../cache/Cache');
|
||||||
var CreateRenderer = require('./CreateRenderer');
|
var CreateRenderer = require('./CreateRenderer');
|
||||||
|
var Data = require('../components/Data');
|
||||||
var GlobalInputManager = require('../input/GlobalInputManager');
|
var GlobalInputManager = require('../input/GlobalInputManager');
|
||||||
var GlobalStateManager = require('../state/GlobalStateManager');
|
var GlobalStateManager = require('../state/GlobalStateManager');
|
||||||
var AnimationManager = require('../animation/manager/AnimationManager');
|
|
||||||
var TextureManager = require('../textures/TextureManager');
|
var TextureManager = require('../textures/TextureManager');
|
||||||
var Data = require('../components/Data');
|
var TimeStep = require('./TimeStep');
|
||||||
var Cache = require('../cache/Cache');
|
|
||||||
|
|
||||||
var Game = function (config)
|
var Game = function (config)
|
||||||
{
|
{
|
||||||
|
|
|
@ -23,8 +23,6 @@ var Map = function (elements)
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
Map.prototype.constructor = Map;
|
|
||||||
|
|
||||||
Map.prototype = {
|
Map.prototype = {
|
||||||
|
|
||||||
set: function (key, value)
|
set: function (key, value)
|
||||||
|
@ -163,4 +161,6 @@ Map.prototype = {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Map.prototype.constructor = Map;
|
||||||
|
|
||||||
module.exports = Map;
|
module.exports = Map;
|
||||||
|
|
|
@ -13,8 +13,6 @@ var Set = function (elements)
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
Set.prototype.constructor = Set;
|
|
||||||
|
|
||||||
Set.prototype = {
|
Set.prototype = {
|
||||||
|
|
||||||
set: function (value)
|
set: function (value)
|
||||||
|
@ -177,4 +175,6 @@ Object.defineProperties(Set.prototype, {
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Set.prototype.constructor = Set;
|
||||||
|
|
||||||
module.exports = Set;
|
module.exports = Set;
|
||||||
|
|
Loading…
Reference in a new issue