21 lines
487 B
C#
21 lines
487 B
C#
using Godot;
|
|
using Nocturnis.Enigmos.Modules.ComputationalModules;
|
|
using Nocturnis.GlobalManagement.Constants;
|
|
using Skeleton.DataStructure;
|
|
|
|
namespace Enigmos.Modules.ComputationalModules.Binary;
|
|
|
|
public partial class LogicalConjunctionModule : BinaryLogicModule
|
|
{
|
|
|
|
|
|
public override void Define()
|
|
{
|
|
var x = DataOutPorts.Length;
|
|
|
|
(object, StringName) Func(CacheItem cache) =>
|
|
(this.X(cache).Bit & this.Y(cache).Bit, EnigmosConstant.DataPortTypes.Bit);
|
|
this.Define(Func);
|
|
}
|
|
|
|
} |