2010-07-02 09:24:16 +02:00
|
|
|
#ifndef GAME_RENDER_CELL_H
|
|
|
|
#define GAME_RENDER_CELL_H
|
2010-06-03 20:44:55 +02:00
|
|
|
|
2010-07-02 09:24:16 +02:00
|
|
|
namespace MWRender
|
2010-06-03 20:44:55 +02:00
|
|
|
{
|
2010-07-02 09:24:16 +02:00
|
|
|
class CellRender
|
|
|
|
{
|
|
|
|
public:
|
2010-06-12 13:34:15 +02:00
|
|
|
|
2010-07-02 09:24:16 +02:00
|
|
|
virtual ~CellRender() {};
|
2010-07-02 09:00:06 +02:00
|
|
|
|
2010-07-02 09:24:16 +02:00
|
|
|
/// 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;
|
|
|
|
};
|
2010-06-03 20:44:55 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|
2010-07-02 09:24:16 +02:00
|
|
|
|