Subversion Repositories sssnakesss

Rev

Rev 10 | Rev 13 | 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);

    // Stuff that should be private
        vector<Point> points; // list of points snake occupies

        // Colour Values
        int R;
        int G;
        int B;

        Direction direction;

};

#endif // SNAKE_HPP