ScummVM API documentation
Prince::Object Class Reference

Public Types

enum  AttrId {
  kObjectAddr = 0, kObjectX = 4, kObjectY = 6, kObjectZ = 8,
  kObjectFlags = 10, kObjectZoomInSource = 12, kObjectZoomInLen = 16, kObjectZoomInAddr = 20,
  kObjectZoomInTime = 24
}
 

Public Member Functions

bool loadFromStream (Common::SeekableReadStream &stream)
 
Graphics::SurfacegetSurface () const
 
int32 getData (AttrId dataId)
 
void setData (AttrId dataId, int32 value)
 

Public Attributes

int32 _x
 
int32 _y
 
int32 _z
 
uint16 _width
 
uint16 _height
 
int32 _flags
 
int32 _zoomTime
 
Graphics::Surface_zoomSurface
 

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