starting an upgrade to move everything to just use ptrs and simplify the code a little
This commit is contained in:
1 parent
626d7261d4
commit
0d47de8a7a
5 files changed
+73
-48
No files matched your search
+3
-2
@@ -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
|
||||
Reference in new issue
Block a user