commit 36d98438e2f7c793b9a53db66e769396bd857245 Author: hzhang Date: Fri Jun 28 20:46:30 2024 +0800 init diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..add57be --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +bin/ +obj/ +/packages/ +riderModule.iml +/_ReSharper.Caches/ \ No newline at end of file diff --git a/Boards/IBaseBoard.cs b/Boards/IBaseBoard.cs new file mode 100644 index 0000000..08ab2d9 --- /dev/null +++ b/Boards/IBaseBoard.cs @@ -0,0 +1,6 @@ +namespace Enigmos.Boards; + +public interface IBaseBoard +{ + +} \ No newline at end of file diff --git a/Enigmos.csproj b/Enigmos.csproj new file mode 100644 index 0000000..325036a --- /dev/null +++ b/Enigmos.csproj @@ -0,0 +1,13 @@ + + + + net6.0 + enable + enable + + + + + + + diff --git a/Enigmos.sln b/Enigmos.sln new file mode 100644 index 0000000..01704b7 --- /dev/null +++ b/Enigmos.sln @@ -0,0 +1,16 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Enigmos", "Enigmos.csproj", "{DD3504AF-4740-4B41-861C-F82C6C73C1C4}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {DD3504AF-4740-4B41-861C-F82C6C73C1C4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {DD3504AF-4740-4B41-861C-F82C6C73C1C4}.Debug|Any CPU.Build.0 = Debug|Any CPU + {DD3504AF-4740-4B41-861C-F82C6C73C1C4}.Release|Any CPU.ActiveCfg = Release|Any CPU + {DD3504AF-4740-4B41-861C-F82C6C73C1C4}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/Modules/IBaseModule.cs b/Modules/IBaseModule.cs new file mode 100644 index 0000000..f8f21a9 --- /dev/null +++ b/Modules/IBaseModule.cs @@ -0,0 +1,9 @@ +namespace Enigmos.Modules; +using Godot; +public interface IBaseModule +{ + Vector2 Size { get; set; } + Vector2 Position { get; set; } + Vector2 PositionToBoard { get; } + bool Draggable { get; } +} \ No newline at end of file diff --git a/Ports/IBasePort.cs b/Ports/IBasePort.cs new file mode 100644 index 0000000..d856a7c --- /dev/null +++ b/Ports/IBasePort.cs @@ -0,0 +1,6 @@ +namespace Enigmos.Ports; + +public interface IBasePort +{ + +} \ No newline at end of file diff --git a/global.json b/global.json new file mode 100644 index 0000000..1bcf6c0 --- /dev/null +++ b/global.json @@ -0,0 +1,7 @@ +{ + "sdk": { + "version": "6.0.0", + "rollForward": "latestMinor", + "allowPrerelease": false + } +} \ No newline at end of file