Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 31, 2008, 5:50:42 PM (16 years ago)
Author:
rgrieder
Message:

Modified the GameState hierarchy so that you can get the parent with the actual type by calling getParent().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/gui/src/orxonox/gamestates/GSRoot.h

    r1686 r1688  
    4949        { requestState("root"); }
    5050
     51        Ogre::Root* getOgreRoot() { return this->ogreRoot_; }
     52        GraphicsEngine* getGraphicsEngine() { return this->graphicsEngine_; }
     53
    5154    private:
    5255        void enter();
Note: See TracChangeset for help on using the changeset viewer.