Back to Evolution Project page


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

Level.h

This is the verbatim text of the Level.h include file.
#ifndef LEVEL_EVO 
#define LEVEL_EVO 

class TLevel { 
 public: 
  void Init(int width, int height);
  int LoadFromFile(char *filename); //Load file level...
  int Draw(void);                 //Draw the level on screen...
  void set_window(int x, int y, int w, int h);
  int get_offsetx(void) { return offsetx; }
  int get_offsety(void) { return offsety; }
  void set_offsetx(int ox);
  void set_offsety(int oy);
 private: 
  int window_width;
  int window_height;
  int window_x;
  int window_y;

 protected:
  int read_images(void);
  int offsetx, offsety;
};


#endif //LEVEL_EVO 

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