feat: added pipes and logic for pipes
This commit is contained in:
1 parent
c0f43e6e4e
commit
de4f9facf6
5 files changed
+76
-6
No files matched your search
+2
-1
@@ -2,12 +2,13 @@
|
||||
#define WINDOW_HPP
|
||||
|
||||
#include <array>
|
||||
#include <vector>
|
||||
#include "globals.hpp"
|
||||
#include "elements.hpp"
|
||||
|
||||
struct Window {
|
||||
std::array<std::array<char, COL>, ROW> m_board = {};
|
||||
void update_display(Bird &bird);
|
||||
void update_display(Bird &bird, std::vector<Pipe> pipes);
|
||||
void tick(int fps);
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user