00001 #ifndef __NE_SDL_SPRITE_H__ 00002 #define __NE_SDL_SPRITE_H__ 00003 00004 #ifndef DOXYGEN_IGNORE_TAG 00005 00026 #endif 00027 00028 #include "../../Sprite.h" 00029 00030 #include "../../../Types/Vec2.h" 00031 00032 struct SDL_Surface; 00033 00034 namespace NE 00035 { 00036 class SDL_Sprite : public Sprite 00037 { 00038 private: 00039 00040 SDL_Surface* pSurface; 00041 00042 protected: 00043 void* getNativeSprite(void)const { return pSurface; } 00044 00045 ~SDL_Sprite(void); 00046 00047 public: 00048 SDL_Sprite(SDL_Surface* pSprite); 00049 00050 USize2 getSize(void)const; 00051 }; 00052 } 00053 00062 #endif