(d9829ac) v0.9.4.0
This commit is contained in:
@@ -3,6 +3,15 @@ using System.Linq;
|
||||
|
||||
namespace Barotrauma
|
||||
{
|
||||
interface IMemorizable<T>
|
||||
{
|
||||
Memento<T> Memento { get; }
|
||||
void StoreSnapshot();
|
||||
void Undo();
|
||||
void Redo();
|
||||
void ClearHistory();
|
||||
}
|
||||
|
||||
public class Memento<T>
|
||||
{
|
||||
public T Current { get; private set; }
|
||||
|
||||
Reference in New Issue
Block a user