Public Member Functions | |
SpriteResource (NeverhoodEngine *vm) | |
void | draw (Graphics::Surface *destSurface, bool flipX, bool flipY) |
bool | load (uint32 fileHash, bool doLoadPosition=false) |
void | unload () |
const NDimensions & | getDimensions () |
NPoint & | getPosition () |
bool | isRle () const |
const byte * | getPixels () const |
Protected Attributes | |
NeverhoodEngine * | _vm |
ResourceHandle | _resourceHandle |
NDimensions | _dimensions |
NPoint | _position |
const byte * | _pixels |
bool | _rle |