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

    • Constructor Detail

      • DialogAttributeAnimationName

        public DialogAttributeAnimationName​(@NotNull
                                            @NotNull ArchetypeAttributeAnimationName ref,
                                            @NotNull
                                            @NotNull AnimationComponent input)
        Creates a new instance.
        Parameters:
        ref - reference to the attribute data
        input - the input ui component for editing the value
    • Method Detail

      • getObjectText

        @NotNull
        public @NotNull java.lang.String getObjectText​(@NotNull
                                                       G gameObject,
                                                       @NotNull
                                                       @NotNull Archetype<G,​A,​R> archetype,
                                                       @NotNull
                                                       @NotNull java.lang.String @NotNull [] newMsg,
                                                       @NotNull
                                                       @NotNull ArchetypeType archetypeType)
        Description copied from class: DialogAttribute
        Returns the attribute text for this attribute. The returned string is inserted into the owner's game object text.
        Specified by:
        getObjectText in class DialogAttribute<G extends GameObject<G,​A,​R>,​A extends MapArchObject<A>,​R extends Archetype<G,​A,​R>,​ArchetypeAttributeAnimationName>
        Parameters:
        gameObject - the owner
        archetype - the owner's new archetype; it might differ from gameObject's current archetype
        newMsg - the new "msg" value for the owner
        archetypeType - the owner's archetype type
        Returns:
        the game object text or an empty string