ScummVM API documentation
StarTrek::Sprite Class Reference
Inheritance diagram for StarTrek::Sprite:
Common::Serializable

Public Member Functions

void setBitmap (Bitmap *b)
 
void setBitmap (Common::MemoryReadStreamEndian *stream)
 
void setXYAndPriority (int16 x, int16 y, int16 priority)
 
void dontDrawNextFrame ()
 
Common::Rect getRect ()
 
void saveLoadWithSerializer (Common::Serializer &ser) override
 NOTE: even after calling this, "bitmap" must be reloaded by the caller.
 

Public Attributes

Common::Point pos
 
uint16 drawPriority
 
uint16 drawPriority2
 
Common::String field8
 
Bitmapbitmap
 
uint16 drawMode
 
uint16 textColor
 
bool bitmapChanged
 
bool rect2Valid
 
bool isOnScreen
 
bool field16
 
Common::Rect lastDrawRect
 
Common::Rect drawRect
 
Common::Rect rectangle2
 
int16 drawX
 
int16 drawY
 

Member Function Documentation

◆ getRect()

Common::Rect StarTrek::Sprite::getRect ( )

Returns a rect containing the sprite's bitmap on the screen.


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