Builder

interface Builder

A builder for objectives.

Types

Link copied to clipboard
interface EndStep

The end step that ensures the name and the criterion of the objective are set.

Link copied to clipboard
interface NamedStep

An intermediary step that ensures the name of the objective is set.

Functions

Link copied to clipboard
@Contract(value = "_ -> this", mutates = "this")
abstract fun name(name: String): Objective.Builder.NamedStep

Sets the name of the objective to the given name.