Subversion Repositories sssnakesss

Rev

Rev 10 | Rev 13 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
12 freddie 1
#ifndef SNAKE_HPP
2
#define SNAKE_HPP
3
 
4
enum Direction
5
{
6
    up;
7
    down;
8
    left;
9
    right;
10
};
11
 
12
class Snake
13
{
14
    public:
15
        Snake();
16
 
17
        void nextPoint(Point newPoint);
18
 
19
    // Stuff that should be private
20
        vector<Point> points; // list of points snake occupies
21
 
22
        // Colour Values
23
        int R;
24
        int G;
25
        int B;
26
 
27
        Direction direction;
28
 
29
};
30
 
31
#endif // SNAKE_HPP