source: trunk/neercs/video/render.h @ 1484

Last change on this file since 1484 was 1484, checked in by sam, 9 years ago

neercs: the text rendering object now owns its rendering buffer.

File size: 440 bytes
Line 
1//
2//
3
4#if !defined __VIDEO_RENDER_H__
5#define __VIDEO_RENDER_H__
6
7class Render : public WorldEntity
8{
9public:
10    Render(caca_canvas_t *caca);
11    virtual ~Render();
12
13    char const *GetName() { return "<title>"; }
14
15protected:
16    virtual void TickGame(float seconds);
17    virtual void TickDraw(float seconds);
18
19    void Draw2D();
20    void Draw3D();
21
22private:
23    caca_canvas_t *m_caca;
24    bool m_ready;
25};
26
27#endif // __VIDEO_RENDER_H__
28
Note: See TracBrowser for help on using the repository browser.