Difference between revisions of "CutsceneCmdInterface"
From Headbone Creative
(Initial page) |
m (page formatting) |
||
Line 1: | Line 1: | ||
This is an interface that defines what functions each kind of cutscene must implement. It defines the following functions: | This is an interface that defines what functions each kind of cutscene must implement. It defines the following functions: | ||
− | + | ==void OnStart ();== | |
− | + | Called to notify the cutscene to start | |
− | + | ==void OnReset ();== | |
− | + | Called to notify the cutscene to reset | |
− | + | ==void OnFinished ();== | |
− | + | Called to notify the cutscene to finish | |
− | + | ==void ProcessUpdate ();== | |
− | + | Called each frame while the cutscene is active to drive the cutscene actions | |
− | + | ==bool IsComplete (); == | |
− | + | Called to check whether or not the cutscene has finished its actions. |
Revision as of 22:20, 10 April 2013
This is an interface that defines what functions each kind of cutscene must implement. It defines the following functions:
Contents |
void OnStart ();
Called to notify the cutscene to start
void OnReset ();
Called to notify the cutscene to reset
void OnFinished ();
Called to notify the cutscene to finish
void ProcessUpdate ();
Called each frame while the cutscene is active to drive the cutscene actions
bool IsComplete ();
Called to check whether or not the cutscene has finished its actions.