HAAStarPathfindComponent

Namespace: Murder.Components
Assembly: Murder.dll

public sealed struct HAAStarPathfindComponent : IModifiableComponent, IComponent

This is a struct that points to a singleton class. Reactive systems won't be able to subscribe to this component.

Implements: IModifiableComponent, IComponent

⭐ Constructors

public HAAStarPathfindComponent(int width, int height)

Parameters
width int
height int

⭐ Properties

Data

public readonly HAAStar Data;

Returns
HAAStar

⭐ Methods

Subscribe(Action)

public virtual void Subscribe(Action _)

Parameters
_ Action

Unsubscribe(Action)

public virtual void Unsubscribe(Action _)

Parameters
_ Action