2020-03-02 02:26:06 +01:00
|
|
|
using System;
|
|
|
|
using UnityAtoms.BaseAtoms;
|
|
|
|
|
|
|
|
namespace UnityAtoms.BaseAtoms
|
|
|
|
{
|
|
|
|
/// <summary>
|
2020-03-09 00:37:52 +01:00
|
|
|
/// Reference of type `bool`. Inherits from `EquatableAtomReference<bool, BoolPair, BoolConstant, BoolVariable, BoolEvent, BoolPairEvent, BoolBoolFunction, BoolVariableInstancer, AtomCollection, AtomList>`.
|
2020-03-02 02:26:06 +01:00
|
|
|
/// </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); }
|
|
|
|
}
|
|
|
|
}
|