NE::Sprite Class Reference

Sprite interface. More...

#include <NEngine/Sprite.h>

Inheritance diagram for NE::Sprite:
NE::SDL_Sprite

List of all members.

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

Detailed Description

Sprite interface.

The Sprite class gives an interface to implement new platform specific Sprite functions.


Member Function Documentation

void * NE::Sprite::getNativeSprite ( void   )  const [protected, pure virtual]

return a pointer to the native sprite handle

Returns:
a pointer to the native sprite handler The use of a void* is done to avoid specific code

Implemented in NE::SDL_Sprite.

USize2 NE::Sprite::getSize ( void   )  const [pure virtual]

Get the size of the Sprite.

Returns:
the size of the Sprite

Implemented in NE::SDL_Sprite.


The documentation for this class was generated from the following file:
 All Classes Functions Variables Typedefs
Generated on Thu Oct 6 22:11:38 2011 for WE_Kit by  doxygen 1.6.3