Saving and reading FPS from model

This commit is contained in:
juliandescottes
2012-09-20 23:57:26 +02:00
parent 019df61cdc
commit c7a8233adc
6 changed files with 53 additions and 32 deletions

View File

@ -111,4 +111,8 @@
this.setPixels(this.previousStates[this.stateIndex]);
}
};
ns.Frame.prototype.isSameSize = function (otherFrame) {
return this.getHeight() == otherFrame.getHeight() && this.getWidth() == otherFrame.getWidth();
};
})();