added layers

This commit is contained in:
Jeena 2014-07-27 17:21:37 +02:00
parent 7c783d19e8
commit d29c64385d
4 changed files with 142 additions and 108 deletions

View file

@ -13,11 +13,6 @@ function (Parent, Settings, Nc, PIXI) {
Level.prototype = Object.create(Parent.prototype);
Level.prototype.setup = function(levelData) {
this.levelData = levelData;
this.addBackground();
Parent.prototype.setup.call(this, levelData);
};
Level.prototype.loadLevelDataFromPath = function (path, callback) {
var self = this;
@ -93,5 +88,15 @@ function (Parent, Settings, Nc, PIXI) {
return paths;
};
Level.prototype.createItems = function(options) {
Nc.trigger(); // FIXME
Parent.prototype.createItems.call(this, options);
};
Level.prototype.createTiles = function(first_argument) {
Nc.trigger(); // FIXME
Parent.prototype.createItems.call(this, options);
};
return Level;
});