ScummVM API documentation
Mohawk::LBMiniGameItem Class Reference
Inheritance diagram for Mohawk::LBMiniGameItem:
Mohawk::LBItem

Public Member Functions

 LBMiniGameItem (MohawkEngine_LivingBooks *_vm, LBPage *page, Common::Rect rect)
 
bool togglePlaying (bool playing, bool restart) override
 
- Public Member Functions inherited from Mohawk::LBItem
 LBItem (MohawkEngine_LivingBooks *vm, LBPage *page, Common::Rect rect)
 
void readFrom (Common::SeekableReadStreamEndian *stream)
 
void readData (uint16 type, uint16 size, byte *data)
 
virtual void readData (uint16 type, uint16 size, Common::MemoryReadStreamEndian *stream)
 
virtual void destroySelf ()
 
virtual void setEnabled (bool enabled)
 
virtual void setGlobalEnabled (bool enabled)
 
virtual bool contains (Common::Point point)
 
virtual void update ()
 
virtual void draw ()
 
virtual void handleKeyChar (Common::Point pos)
 
virtual void handleMouseDown (Common::Point pos)
 
virtual void handleMouseMove (Common::Point pos)
 
virtual void handleMouseUp (Common::Point pos)
 
virtual void done (bool onlyNotify)
 
virtual void init ()
 
virtual void seek (uint16 pos)
 
virtual void seekToTime (uint32 time)
 
virtual void setFocused (bool focused)
 
virtual void setVisible (bool visible)
 
virtual void setGlobalVisible (bool enabled)
 
virtual void startPhase (uint phase)
 
virtual void stop ()
 
virtual void notify (uint16 data, uint16 from)
 
virtual void load ()
 
virtual void unload ()
 
virtual void moveBy (const Common::Point &pos)
 
virtual void moveTo (const Common::Point &pos)
 
LBItemclone (uint16 newId, const Common::String &newName)
 
uint16 getId ()
 
const Common::StringgetName ()
 
const Common::RectgetRect ()
 
uint16 getSoundPriority ()
 
bool isLoaded ()
 
bool isAmbient ()
 

Protected Member Functions

LBItemcreateClone () override
 
- Protected Member Functions inherited from Mohawk::LBItem
void setNextTime (uint16 min, uint16 max)
 
void setNextTime (uint16 min, uint16 max, uint32 start)
 
void runScript (uint event, uint16 data=0, uint16 from=0)
 
int runScriptEntry (LBScriptEntry *entry)
 
void runCommand (const Common::String &command)
 
bool checkCondition (const Common::String &condition)
 
LBScriptEntryparseScriptEntry (uint16 type, uint16 &size, Common::MemoryReadStreamEndian *stream, bool isSubentry=false)
 

Additional Inherited Members

- Public Attributes inherited from Mohawk::LBItem
Common::List< LBItem * >::iterator _iterator
 
Common::HashMap< Common::String, LBValue, Common::IgnoreCase_Hash, Common::IgnoreCase_EqualTo_variables
 
- Protected Attributes inherited from Mohawk::LBItem
MohawkEngine_LivingBooks_vm
 
LBPage_page
 
Common::Rect _rect
 
Common::String _desc
 
uint16 _resourceId
 
uint16 _itemId
 
bool _loaded
 
bool _visible
 
bool _globalVisible
 
bool _playing
 
bool _enabled
 
bool _globalEnabled
 
uint32 _nextTime
 
uint32 _startTime
 
uint16 _loops
 
uint16 _phase
 
uint16 _timingMode
 
uint16 _delayMin
 
uint16 _delayMax
 
uint16 _loopMode
 
uint16 _periodMin
 
uint16 _periodMax
 
uint16 _controlMode
 
uint16 _soundMode
 
Common::Point _relocPoint
 
bool _isAmbient
 
bool _doHitTest
 
Common::Array< LBScriptEntry * > _scriptEntries
 

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