/.../
std::list<sf::VertexArray*> path_to_stars;
std::list<sf::VertexArray*>::iterator it_path;
/.../
path_to_stars.push_back(new sf::VertexArray(sf::Lines, 2));
path_to_stars.back()->append(sf::Vector2f((*it)->star.getPosition()));
path_to_stars.back()->append(sf::Vector2f((*it2)->star.getPosition()));
path_to_stars.back()[1]->color(sf::Color(255, 255, 255, 255)) //wrong
path_to_stars.back()->color(sf::Color(255, 255, 255, 255)) //wrong
I know only how to change the color of the line by points, but hove i can change color in this situation?