Class ToolTipAppender<G extends GameObject<G,​A,​R>,​A extends MapArchObject<A>,​R extends Archetype<G,​A,​R>>

    • Constructor Detail

      • ToolTipAppender

        public ToolTipAppender​(@Nullable
                               @Nullable GameObjectParser<G,​A,​R> gameObjectParser)
        Creates a new instance.
        Parameters:
        gameObjectParser - the game object parser for creating tooltip information or null
    • Method Detail

      • appendGameObject

        public void appendGameObject​(@NotNull
                                     G gameObject,
                                     boolean alwaysInclude,
                                     @NotNull
                                     @NotNull java.lang.String prefix)
      • appendValidationError

        public void appendValidationError​(@NotNull
                                          @NotNull ValidationError<G,​?,​?> error)
      • finish

        @Nullable
        public @Nullable java.lang.String finish()