window is no longer a raw pointer and is a unique_ptr, id no longer exists
This commit is contained in:
1 parent
e437b7b35f
commit
1160f3d147
4 files changed
+43
-51
No files matched your search
+3
-3
@@ -3,12 +3,12 @@
|
||||
|
||||
#include "globals.hpp"
|
||||
#include "element.hpp"
|
||||
#include <array>
|
||||
|
||||
struct Window {
|
||||
Vector2i board[ROW][COL] = {};
|
||||
void clear_display();
|
||||
std::array<std::array<char, COL>, ROW> board;
|
||||
void draw_display();
|
||||
void update_display(std::vector<Vector2i> &buf);
|
||||
void update_display(std::vector<vec> &buf);
|
||||
};
|
||||
|
||||
#endif // WINDOW_HPP
|
||||
Reference in new issue
Block a user