#ifndef VIEW_H #define VIEW_H #include #include #include "gst.h" #include "menu.h" class View { public: View (vec2 res) : res(res) {} vec2 res; int selected_ground {-1}; int selected_entity {-1}; int cursor_ground {-1}; int cursor_entity {-1}; int back {-1}; int opt {-1}; std::vector moves; std::vector attacks; std::vector builds; Menu_unit menu_unit; Menu_day menu_day; void process (Gst &gst, vec2 cam, vec2 mouse, int *mheld); }; #endif