Minor thing: use pre-increment `++i` and if you don't need the `int` type, use `unsigned int` for iteration (actually `std::size_t`, but SFML currently uses `unsigned int` everywhere).