spriteinterface.h
Aller à la documentation de ce fichier.00001 #ifndef SPRITEINTERFACE_H
00002 #define SPRITEINTERFACE_H
00003
00004 template <class T>
00005 class SpriteInterface
00006 {
00007 public:
00008 void draw(void);
00009 void draw(short,short,unsigned short, unsigned short,SpriteInterface<T> *);
00010 void setTransparency(unsigned char);
00011 void setMask(unsigned long ,unsigned long ,unsigned long );
00012 short getX(void);
00013 short getY(void);
00014 unsigned short getW(void);
00015 unsigned short getH(void);
00016 void setX(short );
00017 void setY(short );
00018 void setW(unsigned short );
00019 void setH(unsigned short );
00020
00021 protected:
00022 private:
00023 };
00024
00025
00026
00027 #endif // SPRITEINTERFACE_H