refactor: first step to final product by removing redundant code

This commit is contained in:
DarthMooMancer committed 2025-08-29 23:03:08 -04:00
1 parent 684041b3c1
commit d488f6464a
8 files changed
+30 -41

No files matched your search

+2 -6
View File
@@ -5,12 +5,8 @@
struct Fruit {
Fruit();
int unsigned m_row;
int unsigned m_col;
int unsigned m_total_eaten;
Point m_point;
void create_point();
void reset(std::array<std::array<char, COL>, ROW> &arr, int row, int col, int &score);
void reset(std::array<std::array<char, COL>, ROW> &board, int row, int col, int &score);
};
#endif // FRUIT_HPP