unity-atoms/Packages/Core/Runtime/Variables/IWithApplyChange.cs
2019-10-01 17:27:22 +02:00

14 lines
303 B
C#

using System;
namespace UnityAtoms
{
public interface IWithApplyChange<T, E1, E2>
where T : IEquatable<T>
where E1 : AtomEvent<T>
where E2 : AtomEvent<T, T>
{
bool ApplyChange(T amount);
bool ApplyChange(EquatableAtomVariable<T, E1, E2> amount);
}
}