Add option to only render current view

This commit is contained in:
MoyuScript
2014-01-26 20:42:57 +02:00
parent 789b780c6e
commit 1a1082a771
2 changed files with 14 additions and 6 deletions

View File

@@ -5,6 +5,7 @@ function CanvasRenderer(width, height) {
this.canvas.height = height;
this.ctx = this.canvas.getContext("2d");
this.ctx.textBaseline = "bottom";
log("Initialized CanvasRenderer");
}
CanvasRenderer.prototype = Object.create(Renderer.prototype);