Jump

class Jump(val delta: Int) : EndOfParagraphInstruction

An end of paragraph instruction that shifts paragraphs based on a delta.

Constructors

Link copied to clipboard
constructor(delta: Int)

Properties

Link copied to clipboard
val delta: Int

Functions

Link copied to clipboard
open override fun getIndexOfNext(current: Paragraph, paragraphs: List<Paragraph>): Int

Get the index of the next paragraph from a current paragraph and an array of paragraphs.