old-Testgame/main.h
2016-08-27 21:59:52 +02:00

15 lines
No EOL
336 B
C++

#include <renderer/main.h>
#include <GL/glew.h>
class TestGame: public MainClass {
private:
GLuint program;
GLint attribute_coord2d;
auto render() -> void;
protected:
virtual auto tick() -> bool;
virtual auto init() -> bool;
public:
TestGame(): MainClass(640,480) {};
virtual ~TestGame();
virtual auto stop() -> void;
};