Rev 9 | Rev 13 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
10 | tom | 1 | #ifndef SNAKE_HPP |
2 | #define SNAKE_HPP |
||
3 | |||
4 | class Snake |
||
5 | { |
||
6 | public: |
||
7 | Snake(); |
||
8 | |||
9 | void nextPoint(Point newPoint); |
||
10 | |||
11 | // Stuff that should be private |
||
12 | vector<Point> points; // list of points snake occupies |
||
13 | |||
14 | // Colour Values |
||
15 | int R; |
||
16 | int G; |
||
17 | int B; |
||
18 | }; |
||
19 | |||
20 | #endif // SNAKE_HPP |