diff --git a/application.hpp b/application.hpp new file mode 100644 index 0000000000000000000000000000000000000000..362ed1acee3e1ba55dae2f4c76e32274b3e158f8 --- /dev/null +++ b/application.hpp @@ -0,0 +1,26 @@ +#ifndef APPLICATION_HPP_INCLUDED +#define APPLICATION_HPP_INCLUDED + +#include "/Users/horvathadam/Desktop/ITK_graphicslib-master/graphics.hpp" +#include "widgets.hpp" + +#include <vector> + +class Application +{ +protected: + std::vector<Widget *> widgets; + bool game = true; + +public: + Application(int); + virtual ~Application(){} + + + bool checker(int, int); + void event_loop(); + void registerWidget(Widget *); + void gameover(int); +}; + +#endif // APPLICATION_HPP_INCLUDED