#ifndef SNAKE_HPP #define SNAKE_HPP struct Snake { Snake(int default_direction); int get_direction() const; void set_direction(int x); int direction; // 1: Down, 2: Up, 3: Left, 4: Right }; #endif