starting an upgrade to move everything to just use ptrs and simplify the code a little

This commit is contained in:
DarthMooMancer
2025-09-24 14:25:03 -04:00
parent 626d7261d4
commit 0d47de8a7a
5 changed files with 73 additions and 48 deletions
+3 -2
View File
@@ -5,8 +5,9 @@
#include "element.hpp"
struct Window {
char m_board[ROW][COL] = {};
void update_display(Fruit &fruit, Head &head, Body &body);
Point* m_board[ROW][COL] = {};
void draw_display();
void update_display(Point* segments[]);
};
#endif // WINDOW_HPP