starting an upgrade to move everything to just use ptrs and simplify the code a little
This commit is contained in:
+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