diff --git a/GFramework.Godot/Architecture/AbstractArchitecture.cs b/GFramework.Godot/Architectures/AbstractArchitecture.cs similarity index 97% rename from GFramework.Godot/Architecture/AbstractArchitecture.cs rename to GFramework.Godot/Architectures/AbstractArchitecture.cs index a82f001..45f20e4 100644 --- a/GFramework.Godot/Architecture/AbstractArchitecture.cs +++ b/GFramework.Godot/Architectures/AbstractArchitecture.cs @@ -1,10 +1,11 @@ using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Environment; +using GFramework.Core.Architectures; using GFramework.Core.Constants; using GFramework.Godot.Extensions; using Godot; -namespace GFramework.Godot.Architecture; +namespace GFramework.Godot.Architectures; /// /// 抽象架构类,为特定类型的架构提供基础实现框架。 @@ -15,7 +16,7 @@ public abstract class AbstractArchitecture( IEnvironment? environment = null, IArchitectureServices? services = null, IArchitectureContext? context = null -) : Core.Architectures.Architecture(configuration, environment, services, context) +) : Architecture(configuration, environment, services, context) { /// /// 存储所有已安装的Godot架构扩展组件列表 diff --git a/GFramework.Godot/Architecture/AbstractGodotModule.cs b/GFramework.Godot/Architectures/AbstractGodotModule.cs similarity index 91% rename from GFramework.Godot/Architecture/AbstractGodotModule.cs rename to GFramework.Godot/Architectures/AbstractGodotModule.cs index 289f05d..ed3973f 100644 --- a/GFramework.Godot/Architecture/AbstractGodotModule.cs +++ b/GFramework.Godot/Architectures/AbstractGodotModule.cs @@ -1,8 +1,9 @@ using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Enums; +using GFramework.Core.Architectures; using Godot; -namespace GFramework.Godot.Architecture; +namespace GFramework.Godot.Architectures; /// /// 抽象的Godot模块基类,用于定义Godot框架中的模块行为 @@ -31,7 +32,7 @@ public abstract class AbstractGodotModule : IGodotModule /// 当模块被附加到架构时调用此方法 /// /// 被附加到的架构实例 - public virtual void OnAttach(Core.Architectures.Architecture architecture) + public virtual void OnAttach(Architecture architecture) { } diff --git a/GFramework.Godot/Architecture/ArchitectureAnchor.cs b/GFramework.Godot/Architectures/ArchitectureAnchor.cs similarity index 96% rename from GFramework.Godot/Architecture/ArchitectureAnchor.cs rename to GFramework.Godot/Architectures/ArchitectureAnchor.cs index 8c1272c..cb7d3d6 100644 --- a/GFramework.Godot/Architecture/ArchitectureAnchor.cs +++ b/GFramework.Godot/Architectures/ArchitectureAnchor.cs @@ -1,6 +1,6 @@ using Godot; -namespace GFramework.Godot.Architecture; +namespace GFramework.Godot.Architectures; /// /// 架构锚点节点类,用于在Godot场景树中作为架构组件的根节点 diff --git a/GFramework.Godot/Architecture/IGodotModule.cs b/GFramework.Godot/Architectures/IGodotModule.cs similarity index 82% rename from GFramework.Godot/Architecture/IGodotModule.cs rename to GFramework.Godot/Architectures/IGodotModule.cs index 6f217aa..0f74a41 100644 --- a/GFramework.Godot/Architecture/IGodotModule.cs +++ b/GFramework.Godot/Architectures/IGodotModule.cs @@ -1,7 +1,8 @@ using GFramework.Core.Abstractions.Architectures; +using GFramework.Core.Architectures; using Godot; -namespace GFramework.Godot.Architecture; +namespace GFramework.Godot.Architectures; /// /// Godot模块接口,定义了Godot引擎中模块的基本行为和属性 @@ -17,7 +18,7 @@ public interface IGodotModule : IArchitectureModule /// 当模块被附加到架构时调用 /// /// 要附加到的架构实例 - void OnAttach(Core.Architectures.Architecture architecture); + void OnAttach(Architecture architecture); /// /// 当模块从架构分离时调用