Logo Search packages:      
Sourcecode: hannah version File versions  Download package

Ghost3.h

//#include "SDL.h"
//#include "SDL_image.h"
//#include "Defines.h"
#include "Ghost.h"
//#include <fstream>
//#include <vector>

using namespace std;

class Ghost3 : public Ghost{
      public:
            Ghost3(char* filename, int x, int y, int speed, AnimationFactory* af);  // Load all sprites in directory
//          virtual ~Ghost3();
            //SDL_Surface* frame();
            //void x(int x);  // Set X
            //void y(int y);
            //int getfreedirections();
            //bool testdirection(int dir);
            //int x();  // Get X
            //int y();
            virtual void move(int x, int y);
            //int nextxpos;
            //int nextypos;
            //int direction; // 1 = up, 2 = right, 3 = down, 4 = left, 5 = stationary
            //int numframes;
            //int nextdir;

      protected:
            //vector<SDL_Surface*> frames;
            //int xpos;
            //int ypos;
            //int currentframe;
            //int speed;
            //gridcell map[SIZEX][SIZEY];
};

Generated by  Doxygen 1.6.0   Back to index