public void render() {
		BufferStrategy bs = getBufferStrategy();
		if (bs == null) {
			createBufferStrategy(2);
			return;
		}

		Graphics g = bs.getDrawGraphics();
		g.setColor(Color.BLACK);
		g.fillRect(0, 0, getWidth(), getHeight());

		for (int i = 0; i < getLevel().bricks.length; i++) {
			for (int j = 0; j < getLevel().bricks[i].length; j++) {
				if (getLevel().bricks[i][j] != null) {
					getLevel().bricks[i][j].draw(g);
				}
			}
		}

		if (getCurrentBrick() != null) {
			getCurrentBrick().draw(g);
		}

		g.dispose();
		bs.show();
	}