From 44b995f69bb3248f98dc65574a38738e367731c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Horv=C3=A1th=20=C3=81d=C3=A1m?= <horvath.adam.7@hallgato.ppke.hu> Date: Mon, 20 May 2024 00:02:55 +0000 Subject: [PATCH] =?UTF-8?q?lehet=20v=C3=A9gleges?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application.hpp | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 application.hpp diff --git a/application.hpp b/application.hpp new file mode 100644 index 0000000..362ed1a --- /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 -- GitLab