Subversion Repositories sssnakesss

Compare Revisions

Ignore whitespace Rev 16 → Rev 15

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