RemoveEntityOnInteraction

Namespace: Murder.Interactions
Assembly: Murder.dll

public sealed struct RemoveEntityOnInteraction : IInteraction

Implements: IInteraction

⭐ Constructors

public RemoveEntityOnInteraction()

⭐ Properties

AddComponentsBeforeRemoving

public readonly ImmutableArray<T> AddComponentsBeforeRemoving;

Returns
ImmutableArray<T>

DestroyWho

public readonly DestroyWho DestroyWho;

Returns
DestroyWho

⭐ Methods

Interact(World, Entity, Entity)

public virtual void Interact(World world, Entity interactor, Entity interacted)

Parameters
world World
interactor Entity
interacted Entity