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

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

neercs: use a libcaca canvas instead of a character string.

File size: 422 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};
25
26#endif // __VIDEO_RENDER_H__
27
Note: See TracBrowser for help on using the repository browser.