1
Window / Bottleneck sf::Event
« on: July 09, 2008, 12:41:18 am »
Hi sitizen,
I'd put event-handling into a while()-construction like this:
Try this, I think it should work...
I'd put event-handling into a while()-construction like this:
Code: [Select]
sf::Event Event;
while(App.GetEvent(Event)){
if((Event.Type == sf::Event::KeyPressed) && (Event.Key.Code == sf::Key::Escape))
App.Close();
}
Try this, I think it should work...