IdTargetCollectionComponent

Namespace: Murder.Components
Assembly: Murder.dll

public sealed struct IdTargetCollectionComponent : IComponent

This is a component with a collection of entities tracked in the world.

Implements: IComponent

⭐ Constructors

public IdTargetCollectionComponent(ImmutableDictionary<TKey, TValue> targets)

Parameters
targets ImmutableDictionary<TKey, TValue>

⭐ Properties

Targets

public readonly ImmutableDictionary<TKey, TValue> Targets;

Id of the target entity.

Returns
ImmutableDictionary<TKey, TValue>