/** @file graphicsEngine.h @brief Graphics Engine @author Benjamin Knecht */ #ifndef GRAPHICS_ENGINE_H #define GRAPHICS_ENGINE_H #include #include namespace orxonox { using namespace Ogre; /** * 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); 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