mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
14 lines
382 B
JavaScript
14 lines
382 B
JavaScript
|
(function () {
|
||
|
|
||
|
var ns = $.namespace("pskl.rendering");
|
||
|
|
||
|
ns.PiskelRenderer = function (piskelController) {
|
||
|
var frames = [];
|
||
|
for (var i = 0 ; i < piskelController.getFrameCount() ; i++) {
|
||
|
frames.push(this.piskelController.getFrameAt(i));
|
||
|
}
|
||
|
ns.FramesheetRenderer.call(this, frames);
|
||
|
};
|
||
|
|
||
|
pskl.utils.inherit(ns.PiskelRenderer, ns.FramesheetRenderer);
|
||
|
})();
|