public void draw(Graphics2D g2) {
		
		background.draw(g2, xOffset);
		
		player.draw(g2, xOffset, yOffset);

		for (int w = 0; w < walls.size(); w++) {
			Wall wall = (Wall) walls.get(w);
			wall.draw(g2, xOffset,yOffset);
		}
		player.draw(g2, xOffset, yOffset);
		for (int wz = 0; wz < entities.size(); wz++) {
			Updateable en= (Updateable)entities.get(wz);
			en.draw(g2, xOffset, yOffset);
		}
	}