#ifndef WINDOW_HPP #define WINDOW_HPP #include #include "globals.hpp" #include "fruit.hpp" #include "snake.hpp" struct Window { Window(); std::array, ROW> m_board; int m_score; int m_reset; int m_previous_reset; void draw_window(); void clear_window(); void tick(double frames_per_second); void kill(bool &running); void update_score(Fruit &fruit, Body &body); void update_display(int fps); void check_exit(bool &running, Body &body, bool &collision); }; #endif // WINDOW_HPP