refactor: renaming functions and removing old functions
This commit is contained in:
+2
-3
@@ -21,10 +21,9 @@ struct Body {
|
||||
std::vector<Tail> m_body;
|
||||
int m_score;
|
||||
bool m_collision;
|
||||
void clear(std::array<std::array<char, COL>, ROW> &arr);
|
||||
void add_tail();
|
||||
void check_new_tail();
|
||||
void check_collision(Head &head);
|
||||
void get_new_points(Head &head);
|
||||
void collision(Head &head);
|
||||
};
|
||||
|
||||
struct Fruit {
|
||||
|
||||
Reference in New Issue
Block a user