mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-09 21:42:13 +00:00
31 lines
749 B
C++
31 lines
749 B
C++
#ifndef GAME_RENDER_CELL_H
|
|
#define GAME_RENDER_CELL_H
|
|
|
|
#include <string>
|
|
|
|
namespace MWRender
|
|
{
|
|
class CellRender
|
|
{
|
|
public:
|
|
|
|
virtual ~CellRender() {};
|
|
|
|
/// Make the cell visible. Load the cell if necessary.
|
|
virtual void show() = 0;
|
|
|
|
/// Remove the cell from rendering, but don't remove it from
|
|
/// memory.
|
|
virtual void hide() = 0;
|
|
|
|
/// Make the reference with the given handle visible.
|
|
virtual void enable (const std::string& handle) = 0;
|
|
|
|
/// Make the reference with the given handle invisible.
|
|
virtual void disable (const std::string& handle) = 0;
|
|
};
|
|
}
|
|
|
|
#endif
|
|
|