feat: (snake) collision with head and body
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user