SituationComponent

Namespace: Murder.Components
Assembly: Murder.dll

public sealed struct SituationComponent : IComponent

Implements: IComponent

⭐ Constructors

public SituationComponent()
public SituationComponent(Guid character, int situation)

Parameters
character Guid
situation int

⭐ Properties

Character

public readonly Guid Character;

Returns
Guid

Empty

public bool Empty { get; }

Returns
bool

Situation

public readonly int Situation;

This is the starter situation for the interaction.

Returns
int

⭐ Methods

WithSituation(int)

public SituationComponent WithSituation(int situation)

Parameters
situation int

Returns
SituationComponent