fix: properly skips block if deleted and doesnt print the old symbol. removed old helper functions that are redundant

This commit is contained in:
DarthMooMancer
2025-09-01 17:51:36 -04:00
parent f1e32089ae
commit 6529353f2f
5 changed files with 31 additions and 25 deletions
+4
View File
@@ -6,9 +6,13 @@
#include "elements.hpp"
struct Window {
Window();
std::array<std::array<char, COL>, ROW> m_board = {};
int m_lives;
void update_display(Paddle &paddle, Ball &ball, Block (&block_list)[15]);
void tick(int fps);
void clear();
void terminate(Ball &ball, bool &running);
};
#endif