mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-05-06 16:16:44 +08:00
- Add documentation for Godot architecture integration, including AbstractArchitecture, ArchitectureAnchor, and IGodotModule - Describe basic usage: architecture creation, initialization, and anchor usage - Provide advanced examples: module system, lifecycle hooks, and hot-reload support - Document ContextAware usage for accessing architecture within nodes - Include best practices for multi-architecture setups and common pitfalls - Add architecture design patterns guide (MVC, MVVM, Command, etc.) - Cover event-driven, DI, and service locator patterns with examples Note: - Normalize line endings to LF to fix inconsistent diffs caused by CRLF/LF mismatch - No functional code changes
GFramework.Game.Abstractions
GFramework.Game 模块的抽象层,提供游戏业务相关的接口定义。
主要内容
- 游戏业务常用抽象接口
- 与 GFramework.Core.Abstractions 配合使用的契约
使用建议
- 若需直接使用完整游戏扩展能力,优先使用 GFramework.Game
- 若在做模块拆分或需要解耦,可单独依赖本包