Closed AlexAUT closed 4 months ago
Looks like we need to update the examples to handle how pollEvent
now returns a std::optional<sf::Event>
rather than just an sf::Event
. Would you mind fixing that real quick?
You can also close #285 after this one is merged.
You can also close #285 after this one is merged.
lol I forgot to merge my own PR. My bad.
Event inheritance was removed in SFML3. I can also split the lambda into two if that is preferred over the auto parameter.