ScummVM API documentation
Asylum::VideoPlayer Class Reference
Inheritance diagram for Asylum::VideoPlayer:
Asylum::EventHandler

Public Member Functions

 VideoPlayer (AsylumEngine *engine, Audio::Mixer *mixer)
 
void play (uint32 videoNumber, EventHandler *handler)
 
bool handleEvent (const AsylumEvent &evt)
 

Member Function Documentation

◆ play()

void Asylum::VideoPlayer::play ( uint32  videoNumber,
EventHandler handler 
)

Plays a video.

Parameters
videoNumberThe video number.
handlerThe previous event handler.

◆ handleEvent()

bool Asylum::VideoPlayer::handleEvent ( const AsylumEvent evt)
virtual

Handle event.

Parameters
evtThe event.
Returns
true if it succeeds, false if it fails.

Implements Asylum::EventHandler.


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