DialogueServices

Namespace: Murder.Services
Assembly: Murder.dll

public static class DialogueServices

⭐ Methods

HasDialogue(World, Entity, SituationComponent)

public bool HasDialogue(World world, Entity e, SituationComponent situation)

Parameters
world World
e Entity
situation SituationComponent

Returns
bool

HasNewDialogue(World, Entity, SituationComponent)

public bool HasNewDialogue(World world, Entity e, SituationComponent situation)

Parameters
world World
e Entity
situation SituationComponent

Returns
bool

CreateCharacterFrom(Guid, int)

public CharacterRuntime CreateCharacterFrom(Guid character, int situation)

Parameters
character Guid
situation int

Returns
CharacterRuntime

FetchAllLines(World, Entity, SituationComponent)

public Line[] FetchAllLines(World world, Entity target, SituationComponent situation)

Parameters
world World
target Entity
situation SituationComponent

Returns
Line[]

CreateLine(Line)

public LineComponent CreateLine(Line line)

Parameters
line Line

Returns
LineComponent

FetchFirstLine(World, Entity, SituationComponent)

public string FetchFirstLine(World world, Entity target, SituationComponent situation)

Parameters
world World
target Entity
situation SituationComponent

Returns
string