feat: added blocks. Forgot basics of looping arrays in process and cried
This commit is contained in:
+2
-1
@@ -7,6 +7,7 @@
|
||||
|
||||
struct Window {
|
||||
std::array<std::array<char, COL>, ROW> m_board = {};
|
||||
void update_display(Paddle &paddle, Ball &ball);
|
||||
void update_display(Paddle &paddle, Ball &ball, Block (&block_list)[15]);
|
||||
void tick(int fps);
|
||||
};
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user