StopMusicInteraction

Namespace: Murder.Interactions
Assembly: Murder.dll

public sealed struct StopMusicInteraction : IInteraction

Implements: IInteraction

⭐ Constructors

public StopMusicInteraction()

⭐ Properties

ExceptFor

public readonly T? ExceptFor;

TODO: We might replace this with a "category" of sounds we want to exclude/include in the stop. I will wait until we need that first.

Returns
T?

FadeOut

public readonly bool FadeOut;

Returns
bool

Music

public readonly T? Music;

Returns
T?

⭐ Methods

Interact(World, Entity, Entity)

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

Parameters
world World
interactor Entity
interacted Entity