Upgrade structure of code base

This commit is contained in:
h z
2024-07-03 12:20:08 +08:00
parent d382481cd4
commit 42e06a0d0c
82 changed files with 864 additions and 116 deletions

View File

@@ -0,0 +1,31 @@
using Godot;
namespace Nocturnis.GlobalManagement.Constants;
public static class EnigmosConstant
{
public static class DataPortTypes
{
public static readonly StringName Null = "Null";
public static readonly StringName Bit = "Bit";
public static readonly StringName Real = "Real";
public static readonly StringName Complex = "Complex";
public static readonly StringName R2 = "R2";
public static readonly StringName C2 = "C2";
public static readonly StringName RealArray = "RealArray";
public static readonly StringName AnyArrayType = "AnyArrayType";
public static readonly StringName[] NumericTypes = new[] { Real, Complex };
public static readonly StringName[] AnyTensor = new[] { Real, Complex, R2, C2 };
public static readonly StringName[] AnyType = new[] { Real, Complex, R2, C2 };
public static readonly StringName[] VectorTypes = new[] { R2, C2 };
public static readonly StringName[] AnyArray = Array.Empty<StringName>();
}
public static class CommunicationDirections
{
public static readonly StringName Send = "Send";
public static readonly StringName Receive = "Receive";
}
public const double IdlePower = 0.2d;
}