Class OptionEdge
- Namespace
- DialogueDown.Playbook.Edges
- Assembly
- DialogueDown.Playbook.dll
One arm of a player's choice, carrying the text the menu shows.
[Equatable]
public sealed record OptionEdge : Edge, IEquatable<Edge>, IConditional, IEquatable<OptionEdge>
- Inheritance
-
OptionEdge
- Implements
- Inherited Members
- Extension Methods
Constructors
- OptionEdge(int, ImmutableArray<SpeechFragment>, Condition?)
One arm of a player's choice, carrying the text the menu shows.
Properties
- Condition
Gets what must hold for the option to be available, or
nullwhen it always is.
- Label
Gets the speech the menu shows for this option.
Methods
- Equals(OptionEdge?)
Indicates whether the current object is equal to another object of the same type.
- GetHashCode()
Serves as the default hash function.