mirror of
https://github.com/unity-atoms/unity-atoms.git
synced 2025-01-24 09:08:23 -05:00
14 lines
315 B
C#
14 lines
315 B
C#
using System;
|
|
|
|
namespace UnityAtoms
|
|
{
|
|
public interface IWithApplyChange<T, E1, E2>
|
|
where T : IEquatable<T>
|
|
where E1 : GameEvent<T>
|
|
where E2 : GameEvent<T, T>
|
|
{
|
|
bool ApplyChange(T amount);
|
|
bool ApplyChange(EquatableScriptableObjectVariable<T, E1, E2> amount);
|
|
}
|
|
}
|