Layers:Review:Cleanup of GifExportController

This commit is contained in:
jdescottes
2013-09-30 22:00:31 +02:00
parent 7aa407970f
commit f514b6cd10
6 changed files with 76 additions and 50 deletions

View File

@ -6,14 +6,11 @@
* @param {Number} width
* @param {Number} height
*/
ns.Piskel = function (width, height, fps) {
if (width && height && fps) {
ns.Piskel = function (width, height) {
if (width && height) {
/** @type {Array} */
this.layers = [];
/** @type {Number} */
this.fps = fps;
/** @type {Number} */
this.width = width;
@ -36,10 +33,6 @@
return this.width;
};
ns.Piskel.prototype.getFps = function () {
return this.fps;
};
ns.Piskel.prototype.getLayers = function () {
return this.layers;
};