Interface ReloadableParagraph

All Superinterfaces:
Paragraph
All Known Implementing Classes:
ContextParagraph

public interface ReloadableParagraph extends Paragraph
Represents a paragraph whose content depends on the context in which it is rendered.
Since:
2.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Reloads the paragraph with the given context.

    Methods inherited from interface io.github.somesourcecode.someguiapi.scene.lore.Paragraph

    getLines
  • Method Details

    • reload

      void reload(RenderContext context)
      Reloads the paragraph with the given context.
      Parameters:
      context - the context in which the paragraph is rendered
      Since:
      2.0.0