mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
more layer work
This commit is contained in:
parent
b5c70687d8
commit
57135f3acc
7 changed files with 54 additions and 31 deletions
|
|
@ -13,15 +13,15 @@ function (Parent, PIXI) {
|
|||
Layer.prototype = Object.create(Parent.prototype);
|
||||
|
||||
Layer.prototype.getContainer = function() {
|
||||
return this.contianer;
|
||||
return this.container;
|
||||
};
|
||||
|
||||
Layer.prototype.show = function() {
|
||||
this.contianer.visible = true;
|
||||
this.container.visible = true;
|
||||
};
|
||||
|
||||
Layer.prototype.hide = function() {
|
||||
this.contianer.visible = false;
|
||||
this.container.visible = false;
|
||||
};
|
||||
|
||||
Layer.prototype.addMesh = function(mesh) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue