feat: (snake) collision with head and body

This commit is contained in:
DarthMooMancer committed 2025-08-29 17:25:09 -04:00
1 parent 157933c122
commit 684041b3c1
7 files changed
+55 -38

No files matched your search

+2 -2
View File
@@ -2,9 +2,9 @@
#define INPUT_HPP
struct Input {
char m_current_key = ' ';
int m_current_key = 0;
char m_getch = ' ';
void get_input(int &d, bool &r);
void get_input(int &d, bool &c, bool &r);
};
#endif // INPUT_HPP