/include/sssnakesss.hpp |
---|
38,6 → 38,7 |
Snake *snake; // controlled snake (snakes[0]) |
vector<Snake *> snakes; // all snakes |
Point food; |
vector<Point> obstacles; |
}; |
/include/snake.hpp |
---|
16,8 → 16,9 |
void nextPoint(Point newPoint); |
void move(); |
void append(int num); |
// Stuff that should be private |
// Stuff that should be private - Did I write this comment? (F) |
vector<Point> points; // list of points snake occupies |
// Colour Values |
27,6 → 28,8 |
Direction direction; |
bool dead; |
}; |
#endif // SNAKE_HPP |