public void drawBlocks(Graphics2D g2d, float ox, float oy, float w, float h) {
            synchronized (Game.blocks) {
                for(int x = 0; x < Game.boardSizeX; x++) {
                    for(int y = Game.boardSizeY - Game.currentBoardSizeY; y < Game.boardSizeY; y++) {
                        drawBlock(g2d, ox, oy, w, h, Game.blocks[x][y], 1, 1);
                    }
                }
            }
            synchronized (Game.shapeLock) {
                if(Game.shape != null) {
                    for(Block block : Game.shape.blocks) {
                        drawBlock(g2d, ox, oy, w, h, block, 1, 1);
                    }
                }

                if(Game.nextShape != null) {
                    for(Block block : Game.nextShape.blocks) {
                        drawBlock(g2d, ox, oy, w, h, block, 0.25f, 0.5f);
                    }
                }
            }
        }