Class TextFactorySpigot

java.lang.Object
nl.pim16aap2.animatedarchitecture.spigot.core.implementations.TextFactorySpigot
All Implemented Interfaces:
ITextFactory

@Singleton public class TextFactorySpigot extends Object implements ITextFactory
Implementation of ITextFactory for the Spigot platform.
  • Constructor Details

    • TextFactorySpigot

      @Inject public TextFactorySpigot()
  • Method Details

    • newText

      public Text newText(@Nullable PersonalizedLocalizer personalizedLocalizer)
      Description copied from interface: ITextFactory
      Creates a new Text instance.
      Specified by:
      newText in interface ITextFactory
      Parameters:
      personalizedLocalizer - the string localizer to use for this text.
      Returns:
      The new text instance.