sf::Text text;
text.setFont(font);
text.setCharacterSize(char_size * camera.GetZoom());
text.setFillColor(sf::Color::White);
if (temp_display)
{
for (int i = 0, w = planets.size(); i < w; i++)
{
text.setString(to_string(planets.at(i).GetTemperature()));
text.setPosition(planets.at(i).GetPosition() + sf::Vector2f(text.getLocalBounds().width * -0.5f, planets.at(i).GetRadius() + char_size * camera.GetZoom()));
window.draw(text);
text.setString(to_string(planets.at(i).population));
text.setPosition(
text.getPosition() + sf::Vector2f(0, camera.GetZoom() * 5 + text.getLocalBounds().height));
window.draw(text);
text.setString(to_string(planets.at(i).tech_level));
text.setPosition(
text.getPosition() + sf::Vector2f(0, camera.GetZoom() * 5 + text.getLocalBounds().height));
window.draw(text);
}