AlphaFramework API  1.0.3
Public Member Functions | Protected Member Functions | List of all members
AlphaFramework.Editor.Gui.CutsceneEditor Class Reference

Allows a user to design a cutscene More...

Inheritance diagram for AlphaFramework.Editor.Gui.CutsceneEditor:
AlphaFramework.Editor.UndoCommandTab AlphaFramework.Editor.UndoTab< IUndoCommand >

Public Member Functions

 CutsceneEditor (string filePath, bool overwrite)
 Creates a new cutscene editor. More...
 
- Public Member Functions inherited from AlphaFramework.Editor.UndoTab< IUndoCommand >
override void Undo ()
 
override void Redo ()
 

Protected Member Functions

override void OnInitialize ()
 
override void OnSaveFile ()
 
override void Dispose (bool disposing)
 Clean up any resources being used. More...
 
- Protected Member Functions inherited from AlphaFramework.Editor.UndoCommandTab
 UndoCommandTab ()
 
void ExecuteCommand (IUndoCommand command)
 Executes a IUndoCommand using this tab's undo stack. More...
 
void ExecuteCommandSafe (IUndoCommand command)
 Executes a IUndoCommand and automatically displays message boxes for common exception types. More...
 
override void OnUndo ()
 Hook to undo the last change
 
override void OnRedo ()
 Hook to redo the last undone change
 
- Protected Member Functions inherited from AlphaFramework.Editor.UndoTab< IUndoCommand >
 UndoTab ()
 
override void OnSaveFile ()
 
override void OnChange ()
 

Additional Inherited Members

- Protected Attributes inherited from AlphaFramework.Editor.UndoTab< IUndoCommand >
readonly Button buttonUndo
 The undo button. More...
 
readonly Button buttonRedo
 The redo button. More...
 
readonly Stack< T > UndoBackups
 Entries used by the undo-system to undo changes More...
 
readonly Stack< T > RedoBackups
 Entries used by the undo-system to redo changes previously undone More...
 

Detailed Description

Allows a user to design a cutscene

Constructor & Destructor Documentation

◆ CutsceneEditor()

AlphaFramework.Editor.Gui.CutsceneEditor.CutsceneEditor ( string  filePath,
bool  overwrite 
)
inline

Creates a new cutscene editor.

Parameters
filePathThe path to the file to be edited.
overwritetrue if an existing file supposed to be overwritten when Tab.SaveFile is called.

Member Function Documentation

◆ Dispose()

override void AlphaFramework.Editor.Gui.CutsceneEditor.Dispose ( bool  disposing)
inlineprotected

Clean up any resources being used.

Parameters
disposingtrue if managed resources should be disposed; otherwise, false.

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