Files
breakout/include/window.hpp
T

19 lines
365 B
C++

#ifndef WINDOW_HPP
#define WINDOW_HPP
#include <array>
#include "globals.hpp"
#include "elements.hpp"
struct Window {
Window();
std::array<std::array<char, COL>, ROW> m_board = {};
int m_lives;
void update_display(Paddle &paddle, Ball &ball, Block (&block_list)[15]);
void tick(int fps);
void clear();
void terminate(Ball &ball, bool &running);
};
#endif