mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-05-06 16:16:44 +08:00
19 lines
594 B
C#
19 lines
594 B
C#
// Copyright (c) 2025-2026 GeWuYou
|
||
// SPDX-License-Identifier: Apache-2.0
|
||
|
||
using GFramework.Core.Abstractions.Systems;
|
||
|
||
namespace GFramework.Ecs.Arch.Abstractions;
|
||
|
||
/// <summary>
|
||
/// Arch 系统适配器接口 - 桥接 Arch.System.ISystem<T> 到框架上下文
|
||
/// </summary>
|
||
/// <typeparam name="T">系统数据类型(通常是 float 表示 deltaTime)</typeparam>
|
||
public interface IArchSystemAdapter<T> : ISystem
|
||
{
|
||
/// <summary>
|
||
/// 更新系统
|
||
/// </summary>
|
||
/// <param name="t">系统数据参数(通常是 deltaTime)</param>
|
||
void Update(in T t);
|
||
} |