source: trunk/tools/neercs/neercs.h @ 2139

Last change on this file since 2139 was 1856, checked in by sam, 8 years ago

neercs: create new Term and Pty classes that will contain the real stuff.

File size: 575 bytes
Line 
1//
2// Neercs
3//
4// Copyright: (c) 2012 Sam Hocevar <sam@hocevar.net>
5//
6
7#if !defined __NEERCS_H__
8#define __NEERCS_H__
9
10#include <caca.h>
11
12#include "video/render.h"
13#include "term/term.h"
14
15extern "C"
16{
17#include "old/neercs.h"
18}
19
20class Neercs : public WorldEntity
21{
22public:
23    Neercs(int argc, char **argv);
24    virtual ~Neercs();
25
26    char const *GetName() { return "<neercs>"; }
27
28protected:
29    virtual void TickGame(float seconds);
30    virtual void TickDraw(float seconds);
31
32private:
33    Term *m_term;
34    Render *m_render;
35
36    bool m_ready;
37};
38
39#endif // __NEERCS_H__
40
Note: See TracBrowser for help on using the repository browser.