Difference between revisions of "CutsceneCmdInterface"
From Headbone Creative
(Initial page) |
Revision as of 22:18, 10 April 2013
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.