Subversion Repositories sssnakesss

Rev

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

#ifndef SSSNAKESSS_HPP
#define SSSNAKESSS_HPP

class SSSNAKESSS
{
    public:
        SSSNAKESSS();
        ~SSSNAKESSS();
       
        bool init();
        bool initSDL();
        bool initOpenGL();
        void initData();
       
        void run();
        void checkEvents();
        void update();
        void draw();
       
        void end();
       
        vector<string> listDir(string dir);
   
    private:
        bool running;
       
        SDL_Surface *screen;
       
        map<string, Texture *> textures;
        Snake *snake;
};

#endif // SSSNAKESSS_HPP