mirror of
https://github.com/unity-atoms/unity-atoms.git
synced 2025-01-31 04:12:52 -05:00
27 lines
827 B
C#
27 lines
827 B
C#
using System;
|
|
using UnityAtoms.BaseAtoms;
|
|
|
|
namespace UnityAtoms.BaseAtoms
|
|
{
|
|
/// <summary>
|
|
/// Reference of type `bool`. Inherits from `EquatableAtomReference<bool, BoolPair, BoolConstant, BoolVariable, BoolEvent, BoolPairEvent, BoolBoolFunction, BoolVariableInstancer>`.
|
|
/// </summary>
|
|
[Serializable]
|
|
public sealed class BoolReference : EquatableAtomReference<
|
|
bool,
|
|
BoolPair,
|
|
BoolConstant,
|
|
BoolVariable,
|
|
BoolEvent,
|
|
BoolPairEvent,
|
|
BoolBoolFunction,
|
|
BoolVariableInstancer,
|
|
AtomCollection,
|
|
AtomList>, IEquatable<BoolReference>
|
|
{
|
|
public BoolReference() : base() { }
|
|
public BoolReference(bool value) : base(value) { }
|
|
public bool Equals(BoolReference other) { return base.Equals(other); }
|
|
}
|
|
}
|