Rev 14 |
Go to most recent revision |
Blame |
Compare with Previous |
Last modification |
View Log
| RSS feed
#ifndef SNAKE_HPP
#define SNAKE_HPP
enum Direction
{
Up,
Down,
Left,
Right
};
class Snake
{
public:
Snake();
void nextPoint(Point newPoint);
void move();
void append(int num);
// Stuff that should be private - Did I write this comment? (F)
vector<Point> points; // list of points snake occupies
// Colour Values
int R;
int G;
int B;
Direction direction;
bool dead;
};
#endif // SNAKE_HPP