ScummVM API documentation
Hollywood::GameplayLoop Class Reference

#include <game_loop.h>

Public Member Functions

 GameplayLoop (HollywoodEngine *vm, GameplayLoopDelegate *delegate)
 
bool run ()
 
void setCurrentStrip (byte stripIndex)
 
byte currentStrip () const
 
const SceneHoverCaption & hoverCaption () const
 

Detailed Description

Runs the blocking interactive loop for one playable scene.

run() prepares the delegate and presents an initial frame, then polls input and advances, draws, and presents through the delegate until the engine quits or the delegate requests an exit.


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