refactor: first step to final product by removing redundant code

This commit is contained in:
DarthMooMancer
2025-08-29 23:03:08 -04:00
parent 684041b3c1
commit d488f6464a
8 changed files with 30 additions and 41 deletions
+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