sprite.setPosition(0,0);
bottle_sprite.setScale(0.5, 0.5);
- bottle_sprite.setPosition(params["collected_pos"][0], params["collected_pos"][1]);
+ bottle_sprite.setPosition(params["collected_pos"][0],
+ params["collected_pos"][1]);
if ( !font.loadFromFile ("assets/fonts/Philosopher-Regular.ttf") )
throw std::invalid_argument ("Unable to load font");
point_text.setPosition (params["points_pos"][0], params["points_pos"][1]);
point_text.setFillColor(sf::Color::Black);
- collected_text.setPosition (static_cast<float>(params["collected_pos"][0]) + 40, params["collected_pos"][1]);
+ collected_text.setPosition (static_cast<float>(params["collected_pos"][0])
+ + 40, params["collected_pos"][1]);
collected_text.setFillColor(sf::Color::Black);
time_text.setPosition (params["time_pos"][0], params["time_pos"][1]);
time_text.setFillColor(sf::Color::Black);