Difference between revisions of "CutsceneCmdInterface"

From Headbone Creative
Jump to: navigation, search
(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 ();
+
==void OnStart ();==
**Called to notify the cutscene to start
+
Called to notify the cutscene to start
*void OnReset ();
+
==void OnReset ();==
**Called to notify the cutscene to reset
+
Called to notify the cutscene to reset
*void OnFinished ();
+
==void OnFinished ();==
**Called to notify the cutscene to finish
+
Called to notify the cutscene to finish
*void ProcessUpdate ();
+
==void ProcessUpdate ();==
**Called each frame while the cutscene is active to drive the cutscene actions
+
Called each frame while the cutscene is active to drive the cutscene actions
*bool IsComplete ();  
+
==bool IsComplete (); ==
**Called to check whether or not the cutscene has finished its actions.
+
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.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox