mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 18:47:35 +00:00
layer bugfixing
This commit is contained in:
parent
d29c64385d
commit
1d3ad16a07
9 changed files with 56 additions and 9 deletions
18
app/Game/Client/View/Views/Pixi/Layer.js
Normal file
18
app/Game/Client/View/Views/Pixi/Layer.js
Normal 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;
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue