DragonECS/src/Builtin/DestroyProcessor.cs

23 lines
491 B
C#
Raw Normal View History

2023-02-07 17:11:56 +08:00
namespace DCFApixels.DragonECS
{
public class DestroyProcessor : IEcsDo<_Run>
{
void IEcsDo<_Run>.Do(EcsSession session)
{
}
}
public class DestroyedTable : EcsTable
{
2023-02-08 17:57:06 +08:00
public readonly EcsPool<tag> isDestroyed;
public static mem<tag> isDestroyedMem = "isDestroyed";
public DestroyedTable(ref TableBuilder builder) : base(ref builder)
{
isDestroyed = builder.Inc(isDestroyedMem);
}
2023-02-07 17:11:56 +08:00
}
}