#include <NEngine/Sprite.h>
Public Member Functions | |
virtual USize2 | getSize (void) const =0 |
Get the size of the Sprite. | |
Protected Member Functions | |
virtual void * | getNativeSprite (void) const =0 |
return a pointer to the native sprite handle | |
Friends | |
class | Renderer |
class | SpriteLoader |
class | SpriteFactory |
Sprite interface.
The Sprite class gives an interface to implement new platform specific Sprite functions.
void * NE::Sprite::getNativeSprite | ( | void | ) | const [protected, pure virtual] |
return a pointer to the native sprite handle
Implemented in NE::SDL_Sprite.
USize2 NE::Sprite::getSize | ( | void | ) | const [pure virtual] |