PathfindGridComponent

Namespace: Murder.Components
Assembly: Murder.dll

public sealed struct PathfindGridComponent : IComponent

Implements: IComponent

⭐ Constructors

public PathfindGridComponent()
public PathfindGridComponent(ImmutableArray<T> cells)

Parameters
cells ImmutableArray<T>

⭐ Properties

Cells

public readonly ImmutableArray<T> Cells;

Unique collection of cell properties. "How do we keep this unique", you ask? This is responsability of the editor editing this. This cannot be a dictionary (I would love to!) because it will break the deterministic behavior of the world.

Returns
ImmutableArray<T>