Renamed Window::GetEvent to PollEvent

This commit is contained in:
Laurent Gomila 2011-04-11 18:20:21 +02:00
parent bacb698f1a
commit df6874273a
20 changed files with 32 additions and 32 deletions

View file

@ -81,7 +81,7 @@ int main()
{
// Handle events
sf::Event event;
while (window.GetEvent(event))
while (window.PollEvent(event))
{
// Window closed or escape key pressed : exit
if ((event.Type == sf::Event::Closed) ||