public void teleport(Player p){
		
		for (GameObject object : World.backgroundTiles) {
			if(object.getClass() == this.getClass()){
				Portal portal = (Portal) object;
				if(portal.getId() == targetId){
					p.setPosition(portal.getX(), portal.getY());
				}
			}
		}
	}