mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
implemented level restart
This commit is contained in:
parent
81611050d2
commit
3edd664412
12 changed files with 104 additions and 47 deletions
|
|
@ -36,6 +36,11 @@ function (Parent, Settings, NotificationCenter) {
|
|||
);
|
||||
};
|
||||
|
||||
Item.prototype.destroy = function() {
|
||||
NotificationCenter.trigger("view/removeMesh", this.mesh);
|
||||
Parent.prototype.destroy.call(this);
|
||||
};
|
||||
|
||||
Item.prototype.render = function() {
|
||||
|
||||
NotificationCenter.trigger("view/updateMesh",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue