Interface UiIntent<R>

Type Parameters:
R - the answer type
All Known Implementing Classes:
Choice, Confirm, Form, Grid, Notice

public sealed interface UiIntent<R> permits Notice, Confirm, Form, Choice<T>, Grid
Something to show to one player, completing with a value of type R. Immutable. The set of permitted subtypes may grow in a 7.x minor release. Code outside the framework must not switch over it exhaustively without a default branch.
  • Method Summary

    Modifier and Type
    Method
    Description
    Title shown by every backend.
  • Method Details

    • title

      Text title()
      Title shown by every backend.