diff --git a/lib/game/Game.dart b/lib/game/Game.dart index 1c23630..f9851c0 100644 --- a/lib/game/Game.dart +++ b/lib/game/Game.dart @@ -16,11 +16,10 @@ class Game { void update([num dt]) {} void draw([num interp]) { -// CanvasRenderingContext2D ctx = this.canvas.getContext('2d'); -// print(grid.toString()); int brickW = (canvas.width ~/ grid[0].length); int brickH = (canvas.height ~/ grid.length); + ctx.setFillColorRgb(255, 0,0); ctx.clearRect(0, 0, canvas.width, canvas.height); for(int y=0;y