Skip to content
Snippets Groups Projects
Select Git revision
  • 44b995f69bb3248f98dc65574a38738e367731c2
  • main default protected
2 results

application.hpp

Blame
  • application.hpp 483 B
    #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