mirror of
https://github.com/unity-atoms/unity-atoms.git
synced 2025-01-23 16:48:23 -05:00
14 lines
303 B
C#
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);
|
|
}
|
|
}
|