public void render(Art art)
	{
		art.drawBitmap(art.background, 0, -scroll);
		art.drawBitmap(art.background, 0, -scroll + height);

		for (int y = 0; y < (height / 8) + 4; y++)
		{
			art.drawTile(art.spriteSheet, 0, y * 8 + -scroll2, 32 + (y % 2 == 0 ? 2 : 0), 8);
			art.drawTile(art.spriteSheet, width - 8, y * 8 + -scroll2, 33 + (y % 2 == 0 ? 2 : 0), 8);
		}

		for (Entity e : entities)
		{
			if (e instanceof RenderEntity)
			{
				e.render(art, this);
			}
		}

		for (Entity e : entities)
		{
			if (e != null && !(e instanceof RenderEntity))
			{
				e.render(art, this);
			}
		}

		player.render(art, this);

		art.drawText("Distance: " + distance / 8 + "M\n" + "Speed: " + (int) speed + "\n" + "Score: " + player.getScore(), 2, 2, 0xFFFFFF);
		art.fill(80, 20, width - 88, 8, 0x606060);
		art.fill((int)((player.getHealth() * 1.0 / player.MAX_HEALTH) * 78), 18, width - 87, 9, 0xFf6060);
	}