public boolean checkAllPortalsFor(MoveableObject object, MazeGame maze) {
		for (Portal portal : portals) {
			if (portal.intersects(object) && portal.isActive) {
				portal.lit = true;
				portal.getEndPortal().lit = true;
				if (!lights.contains(portal)) lights.add(portal);
				if (!lights.contains(portal.getEndPortal())) lights.add(portal.getEndPortal());
				object.setX(object.x + portal.getEndPortal().x - portal.x);
				object.setY(object.y + portal.getEndPortal().y - portal.y);
				portal.getEndPortal().isActive = false; // so that you're not automatically teleported back

				if(maze.isSoundOn())
					portal.playSoundEffect();
				return true;
			} else if (!portal.isActive && !portal.intersects(object)) portal.isActive = true; // reactivate portals once player exists it
		}
		return false;
	}