Table of Contents

Interface IConditional

Namespace
DialogueDown.Playbook.Conditions
Assembly
DialogueDown.Playbook.dll

Something a Condition can guard — a line or a control block, and the arms that may be withheld: a divert, an option, a random option, or one arm of a branch.

public interface IConditional
Extension Methods

Remarks

A node's condition decides whether it plays at all; an arm's decides whether that way out is taken. Both ask the world the same kind of question, so both are read the same way, and a reader looking for a guard asks once rather than naming every kind that can carry one. A succession is not one of these: it is the fall-through, and is always available.

Properties

Condition

Gets the condition guarding this, or null when nothing does.