19 lines
469 B
C#
19 lines
469 B
C#
using Godot;
|
|
using Nocturnis.Enigmos.Modules.ComputationalModules;
|
|
using Nocturnis.GlobalManagement.Constants;
|
|
using Skeleton.DataStructure;
|
|
|
|
namespace Enigmos.Modules.ComputationalModules.Binary;
|
|
|
|
public abstract partial class LogicalBiconditionalModule : BinaryLogicModule
|
|
{
|
|
public override void Define()
|
|
{
|
|
(object, StringName) Func(CacheItem cache) =>
|
|
(!(this.X(cache).Bit ^ this.Y(cache).Bit), EnigmosConstant.DataPortTypes.Bit);
|
|
|
|
this.Define(Func);
|
|
|
|
}
|
|
|
|
} |