You're breathtaking!
This commit is contained in:
23
Source/Editor/Undo/IUndoAction.cs
Normal file
23
Source/Editor/Undo/IUndoAction.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
|
||||
|
||||
using FlaxEditor.History;
|
||||
|
||||
namespace FlaxEditor
|
||||
{
|
||||
/// <summary>
|
||||
/// Interface for <see cref="Undo"/> actions.
|
||||
/// </summary>
|
||||
/// <seealso cref="FlaxEditor.History.IHistoryAction" />
|
||||
public interface IUndoAction : IHistoryAction
|
||||
{
|
||||
/// <summary>
|
||||
/// Performs this action.
|
||||
/// </summary>
|
||||
void Do();
|
||||
|
||||
/// <summary>
|
||||
/// Undoes this action.
|
||||
/// </summary>
|
||||
void Undo();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user