Table of Contents

Struct PooledEntityList.Enumerator

Namespace
Typhon.Engine
Assembly
Typhon.Engine.dll

Stack-allocated enumerator over the entity array segment.

public struct PooledEntityList.Enumerator : IEnumerator<EntityId>, IEnumerator, IDisposable
Implements
Inherited Members

Properties

Current

The entity at the current position.

public EntityId Current { get; }

Property Value

EntityId

Methods

Dispose()

No-op — the enumerator holds no resources to release.

public void Dispose()

MoveNext()

Advances to the next entity.

public bool MoveNext()

Returns

bool

true if another entity is available; false once the segment is exhausted.

Reset()

Resets the enumerator to before the first entity.

public void Reset()