Represents the history of past and future moments.

Constructors

Properties

Constructors

Properties

currentIndex: number = 0

The current index into the history. Indices greater than this are the future for redo, indices less than this are in the past for undo.

moments: Moment[] = []

The history of passages.