HeavenStudio/Assets/Scripts/LevelEditor/Commands/IAction.cs
Braedon 1ed2291844 Command pattern (Undo/Redo) system began. (Read desc)
I spent about 6 hours trying to fix this one specific bug involving the move undo. Turns out all I had to do was calm down and think logically instead of typing random bullshit for a few hours until it worked. I'm tired and I thank this for ruining my sleep schedule.
2022-01-22 05:44:19 -05:00

13 lines
234 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace RhythmHeavenMania.Editor.Commands
{
public interface IAction
{
void Execute();
void Undo();
void Redo();
}
}