Basic export - opening new window with concatenated spritesheet in PNG format

This commit is contained in:
juliandescottes
2012-09-20 00:43:39 +02:00
parent 0f0938b91b
commit 562d669ae1
8 changed files with 103 additions and 24 deletions

View File

@ -7,6 +7,14 @@
this.currentFrameIndex = 0;
};
ns.FrameSheet.prototype.getHeight = function () {
return this.height;
};
ns.FrameSheet.prototype.getWidth = function () {
return this.width;
};
ns.FrameSheet.prototype.addEmptyFrame = function () {
this.addFrame(ns.Frame.createEmpty(this.width, this.height));
};