Game Development Reference
Since we don't call Window::pollEvent() anywhere in the loop, the window won't
process any events from the user (focus, move, resize, and so on). However, this won't
stop it from executing the logic it is supposed to—closing the window after a period of
With time on our side, we can now safely move on to animation.