QuadtreeComponent

Namespace: Murder.Components
Assembly: Murder.dll

public sealed struct QuadtreeComponent : IModifiableComponent, IComponent

Implements: IModifiableComponent, IComponent

⭐ Constructors

public QuadtreeComponent(Rectangle size)

Parameters
size Rectangle

⭐ Properties

Quadtree

public readonly Quadtree Quadtree;

Returns
Quadtree

⭐ Methods

Subscribe(Action)

public virtual void Subscribe(Action notification)

Parameters
notification Action

Unsubscribe(Action)

public virtual void Unsubscribe(Action notification)

Parameters
notification Action