mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
18 lines
No EOL
317 B
JavaScript
18 lines
No EOL
317 B
JavaScript
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;
|
|
}); |