mirror of
https://github.com/unity-atoms/unity-atoms.git
synced 2025-01-31 04:12:52 -05:00
25 lines
786 B
C#
25 lines
786 B
C#
using System;
|
|
using UnityAtoms.BaseAtoms;
|
|
|
|
namespace UnityAtoms.BaseAtoms
|
|
{
|
|
/// <summary>
|
|
/// Reference of type `int`. Inherits from `EquatableAtomReference<int, IntPair, IntConstant, IntVariable, IntEvent, IntPairEvent, IntIntFunction, IntVariableInstancer, AtomCollection, AtomList>`.
|
|
/// </summary>
|
|
[Serializable]
|
|
public sealed class IntReference : EquatableAtomReference<
|
|
int,
|
|
IntPair,
|
|
IntConstant,
|
|
IntVariable,
|
|
IntEvent,
|
|
IntPairEvent,
|
|
IntIntFunction,
|
|
IntVariableInstancer>, IEquatable<IntReference>
|
|
{
|
|
public IntReference() : base() { }
|
|
public IntReference(int value) : base(value) { }
|
|
public bool Equals(IntReference other) { return base.Equals(other); }
|
|
}
|
|
}
|