Subversion Repositories sssnakesss

Rev

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);
        void move();

    // 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