Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 27, 2009, 9:35:51 PM (15 years ago)
Author:
rgrieder
Message:

Hitting the X-Button of the window actually stops orxonox now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/GraphicsManager.cc

    r2896 r3091  
    6262#include "core/CoreIncludes.h"
    6363#include "core/Core.h"
     64#include "core/Game.h"
    6465#include "core/GameMode.h"
    6566#include "tools/WindowEventListener.h"
     
    440441    void OgreWindowEventListener::windowClosed(Ogre::RenderWindow* rw)
    441442    {
    442         // TODO: Notify the right class to shut down the Game
     443        Game::getInstance().stop();
    443444    }
    444445}
Note: See TracChangeset for help on using the changeset viewer.