layer bugfixing

This commit is contained in:
logsol 2014-08-30 10:29:58 +02:00
parent d29c64385d
commit 1d3ad16a07
9 changed files with 56 additions and 9 deletions

View file

@ -0,0 +1,18 @@
define([
"Lib/Vendor/Pixi",
],
function (PIXI) {
function Layer (name, parallax) {
this.name = name;
this.container = new PIXI.DisplayObjectContainer();
this.parallax = parallax;
}
Layer.prototype.getContainer = function() {
return this.container;
};
return Layer;
});