/** @file GraphicsEngine.h @brief Graphics Engine @author Benjamin Knecht */ #ifndef _GraphicsEngine_H__ #define _GraphicsEngine_H__ #include #include #include namespace orxonox { /** * graphics engine manager class */ class GraphicsEngine { public: GraphicsEngine(); inline void setConfigPath(std::string path) { this->configPath_ = path; }; // find a better way for this inline Ogre::Root* getRoot() { return root_; }; void setup(); bool load(); void loadRessourceLocations(std::string path); Ogre::SceneManager* getSceneManager(); void startRender(); virtual ~GraphicsEngine(); private: Ogre::Root* root_; //!< Ogre's root std::string configPath_; //!< path to config file std::string dataPath_; //!< path to data file Ogre::SceneManager* scene_; //!< scene manager of the game }; } #endif /* _GraphicsEngine_H__ */