Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<PackageReference Include="Arch" Version="2.1.0"/>
<PackageReference Include="Mediator.Abstractions" Version="3.0.1"/>
</ItemGroup>
</Project>
15 changes: 0 additions & 15 deletions GFramework.Core.Abstractions/architecture/IArchitectureContext.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using GFramework.Core.Abstractions.command;
using GFramework.Core.Abstractions.ecs;
using GFramework.Core.Abstractions.environment;
using GFramework.Core.Abstractions.events;
using GFramework.Core.Abstractions.model;
Expand Down Expand Up @@ -206,18 +205,4 @@ ValueTask<TResponse> SendAsync<TResponse>(
/// </summary>
/// <returns>环境对象实例</returns>
IEnvironment GetEnvironment();

// === ECS 支持 ===

/// <summary>
/// 获取ECS世界实例
/// </summary>
/// <returns>ECS世界实例</returns>
IEcsWorld GetEcsWorld();

/// <summary>
/// 注册ECS系统
/// </summary>
/// <typeparam name="T">ECS系统类型</typeparam>
void RegisterEcsSystem<T>() where T : class, IEcsSystem;
}
20 changes: 0 additions & 20 deletions GFramework.Core.Abstractions/ecs/IEcsSystem.cs

This file was deleted.

44 changes: 0 additions & 44 deletions GFramework.Core.Abstractions/ecs/IEcsWorld.cs

This file was deleted.

11 changes: 0 additions & 11 deletions GFramework.Core.Tests/architecture/ArchitectureServicesTests.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using GFramework.Core.Abstractions.architecture;
using GFramework.Core.Abstractions.command;
using GFramework.Core.Abstractions.ecs;
using GFramework.Core.Abstractions.environment;
using GFramework.Core.Abstractions.events;
using GFramework.Core.Abstractions.ioc;
Expand Down Expand Up @@ -428,16 +427,6 @@ public IEnvironment GetEnvironment()
{
return _environment;
}

public IEcsWorld GetEcsWorld()
{
throw new NotImplementedException("ECS not implemented in test context");
}

public void RegisterEcsSystem<T>() where T : class, IEcsSystem
{
throw new NotImplementedException("ECS not implemented in test context");
}
}

#endregion
11 changes: 0 additions & 11 deletions GFramework.Core.Tests/architecture/GameContextTests.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using GFramework.Core.Abstractions.architecture;
using GFramework.Core.Abstractions.command;
using GFramework.Core.Abstractions.ecs;
using GFramework.Core.Abstractions.environment;
using GFramework.Core.Abstractions.events;
using GFramework.Core.Abstractions.ioc;
Expand Down Expand Up @@ -452,14 +451,4 @@ public IEnvironment GetEnvironment()
{
return Environment;
}

public IEcsWorld GetEcsWorld()
{
throw new NotImplementedException("ECS not implemented in test context");
}

public void RegisterEcsSystem<T>() where T : class, IEcsSystem
{
throw new NotImplementedException("ECS not implemented in test context");
}
}
Loading
Loading