ScummVM API documentation
Bbvs::Minigame Class Referenceabstract
Inheritance diagram for Bbvs::Minigame:
Bbvs::MinigameBbAirGuitar Bbvs::MinigameBbAnt Bbvs::MinigameBbLoogie Bbvs::MinigameBbTennis

Public Member Functions

 Minigame (BbvsEngine *vm)
 
virtual bool run (bool fromMainGame)=0
 

Protected Member Functions

int drawNumber (DrawList &drawList, int number, int x, int y)
 
void playSound (uint index, bool loop=false)
 
void stopSound (uint index)
 
bool isSoundPlaying (uint index)
 
bool isAnySoundPlaying (const uint *indices, uint count)
 
void saveHiscore (int minigameNum, int score)
 
int loadHiscore (int minigameNum)
 

Protected Attributes

BbvsEngine_vm
 
SpriteModule_spriteModule
 
int _gameState
 
int _gameTicks
 
bool _gameResult
 
bool _gameDone
 
bool _fromMainGame
 
int _hiScoreTable [kMinigameCount]
 
int _backgroundSpriteIndex
 
int _titleScreenSpriteIndex
 
const ObjAnimation_numbersAnim
 

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