/*! * @file water.h * Definition of the SkyBox, that handles the Display of an atmosphere for orxonox. * * A SkyBox is always centered at the current working Camera, and will only obey the cameras * movment but not its rotation. */ #ifndef _WATER_H #define _WATER_H /* INCLUDES */ #include "world_entity.h" /* FORWARD DECLARATION */ class Material; class Grid; //! A Class to handle a WaterEffects class Water : public WorldEntity { public: Water(const TiXmlElement* root = NULL); ~Water(); void loadParams(const TiXmlElement* root); void setResolution(unsigned int resX, unsigned int resY); void setSize(float sizeX, float sizeY); void rebuildGrid(); private: Grid* grid; //!< The water-surface-model to render with unsigned int resX, resY; float sizeX, sizeY; }; #endif /* _WATER_H */