private void render() {
		BufferStrategy bs = getBufferStrategy();
		if (bs == null) {
			createBufferStrategy(3);
			return;
		}
		
		Graphics g = bs.getDrawGraphics();
		
		loadLevel.render(render);
		player.render(render);

		for (int i = 0; i < pixels.length; i++) {
			pixels[i] = render.pixels[i];
		}
		Menu.score = score;
		Menu.renderMap(g, image, time, currentLevel);
		
		if (gameStatus.equals("menu")) {
			Menu.renderMenu(g, player.hasMoved(), WIDTH);
		}
		else if(gameStatus.equals("ingame")) {
			if (Player.won == 1) {
				Menu.renderIngameLost(g, WIDTH);
			}
			if (Player.won == 2) {
				Menu.renderIngameWin(g, WIDTH, currentLevel);
			}
		}
		else if(gameStatus.equals("credits")) {
			Menu.renderCredits(g, WIDTH, HEIGHT);
		}
		
		g.dispose();
		bs.show();
	}