ScummVM API documentation
Neverhood::SpriteResource Class Reference

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 NDimensionsgetDimensions ()
 
NPointgetPosition ()
 
bool isRle () const
 
const byte * getPixels () const
 

Protected Attributes

NeverhoodEngine_vm
 
ResourceHandle _resourceHandle
 
NDimensions _dimensions
 
NPoint _position
 
const byte * _pixels
 
bool _rle
 

The documentation for this class was generated from the following file: