Oh, that's right,
Thanks a lot and stay safe!
Thanks a lot and stay safe!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menumenu->connect("MenuItemClicked", onExitClicked, std::ref(window));
void onExitClicked(sf::RenderWindow& window, const std::string& item)
{
if (item == "Wyjscie") {
window.close();
}
}