Aolis Engine  0.1.0_alpha1
Adventure Game Engine
 All Classes Files Functions Variables
sprite.h
1 #ifndef AOLIS_SPRITE
2 #define AOLIS_SPRITE
3 
4 #include "../defines.h"
5 
6 class Sprite {
7  public:
8  Sprite(char* pixmap);
9  Sprite(char* pixmap, uint_t w, uint_t h);
10  void setWidth(uint_t w);
11  void setHeight(uint_t h);
12  void setResolution(uint_t w, uint_t h);
13  uint_t getWidth();
14  uint_t getHeight();
15  private:
16  char* pixmapdata;
17  unsigned int width;
18  unsigned int height;
19 };
20 
21 #endif /* AOLIS_SPRITE */