Back to Evolution Project page


Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Header Files   Sources   Compound Members   File Members  

Level.h

00001 #ifndef LEVEL_EVO 
00002 #define LEVEL_EVO 
00003 
00004 class TLevel { 
00005  public: 
00006   void Init(int width, int height);
00007   int LoadFromFile(char *filename); //Load file level...
00008   int Draw(void);                 //Draw the level on screen...
00009   void set_window(int x, int y, int w, int h);
00010   int get_offsetx(void) { return offsetx; }
00011   int get_offsety(void) { return offsety; }
00012   void set_offsetx(int ox);
00013   void set_offsety(int oy);
00014  private: 
00015   int window_width;
00016   int window_height;
00017   int window_x;
00018   int window_y;
00019 
00020  protected:
00021   int read_images(void);
00022   int offsetx, offsety;
00023 };
00024 
00025 
00026 #endif //LEVEL_EVO 

Generated at Mon Nov 6 22:47:05 2000 for TheGameofEvolution by doxygen 1.0.0 written by Dimitri van Heesch, © 1997-1999