Subversion Repositories sssnakesss

Rev

Rev 3 | Rev 6 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

#ifndef SSSNAKESSS_HPP
#define SSSNAKESSS_HPP

struct SDL_Surface;

class SSSNAKESSS
{
    public:
        SSSNAKESSS();
        ~SSSNAKESSS();
       
        bool init();
        bool initSDL();
        bool initOpenGL();
        void initData();
       
        void run();
        void checkEvents();
        void update();
        void draw();
       
        void end();
   
    private:
        bool running;
       
        SDL_Surface *screen;
};

#endif // SSSNAKESSS_HPP