Added: SelectionState; New Undoable Mods: AddAnimation, RemoveAnimation, AddFrame, RemoveFrame, RemoveSprite
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Windows.Forms;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AnimationEditor.Modifications
|
||||
{
|
||||
public interface IModification
|
||||
{
|
||||
void Do();
|
||||
void Undo();
|
||||
SelectionState GetPreChangeSelection();
|
||||
void SetPreChangeSelection(SelectionState currentSelection);
|
||||
SelectionState GetPostChangeSelection();
|
||||
void SetPostChangeSelection(SelectionState currentSelection);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user