Options
All
  • Public
  • Public/Protected
  • All
Menu

Configuration for game flow state iteration. Controls which nodes are considered terminals.

Hierarchy

  • GameIterationConfig

Index

Properties

Optional stopAtFeatures

stopAtFeatures: string[]

Any node containing these features will be considered "terminal" as if its template were contained in @see stopAtTypes above.

stopAtTypes

stopAtTypes: string[]

These node types are considered "terminal". Iteration will stop at them and return a new branch.

Methods

Optional customStopHandler

  • Called on notes that match stopAtTypes. Customizes how the stop is handled (or ignored).

    This is useful if you have nodes that should only be considered terminal if they contain particular text, settings, etc. It can also return a variety of more advanced terminal handling via CustomStopType such as page creation and stop and continues.

    Parameters

    Returns void | CustomStopType

Legend

  • Constructor
  • Property
  • Method
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Property
  • Method

Generated using TypeDoc