window is no longer a raw pointer and is a unique_ptr, id no longer exists

This commit is contained in:
DarthMooMancer
2025-11-05 02:18:28 -05:00
parent e437b7b35f
commit 1160f3d147
4 changed files with 43 additions and 51 deletions
+3 -3
View File
@@ -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