ScummVM API documentation
MutationOfJB::Room Class Reference

Public Member Functions

 Room (Game *game, Graphics::Screen *screen)
 
bool load (uint8 roomNumber, bool roomB)
 
void drawObjectAnimation (uint8 objectId, int animOffset)
 
void drawObject (uint8 objectId, uint8 overrideFrame=0)
 
void drawBitmap (uint8 bitmapId)
 
void drawStatic (Static *stat)
 
void drawFrames (int fromFrame, int toFrame, const Common::Rect &area=Common::Rect(), uint8 threshold=0xFF)
 
void initialDraw ()
 
void redraw (bool useBackgroundBuffer=true)
 

Member Function Documentation

◆ drawObject()

void MutationOfJB::Room::drawObject ( uint8  objectId,
uint8  overrideFrame = 0 
)

Draws an object. By default, object's current frame is used, but that can be overridden.

Parameters
objectIdID of object to draw.
overrideFrameOptional frame override.

◆ drawStatic()

void MutationOfJB::Room::drawStatic ( Static stat)

Draws a static. Only statics that allow implicit pickup are drawable.

Parameters
statStatic.

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