public class ToolTipAppender<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
extends java.lang.Object
Constructor and Description |
---|
ToolTipAppender(@Nullable GameObjectParser<G,A,R> gameObjectParser)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
appendGameObject(G gameObject,
boolean alwaysInclude,
@NotNull java.lang.String prefix) |
void |
appendValidationError(@NotNull ValidationError<G,?,?> error) |
@Nullable java.lang.String |
finish() |
public ToolTipAppender(@Nullable @Nullable GameObjectParser<G,A,R> gameObjectParser)
gameObjectParser
- the game object parser for creating tooltip
information or null
public void appendGameObject(@NotNull G gameObject, boolean alwaysInclude, @NotNull @NotNull java.lang.String prefix)
public void appendValidationError(@NotNull @NotNull ValidationError<G,?,?> error)
@Nullable public @Nullable java.lang.String finish()