Class TreasureListTreasureObj

    • Constructor Detail

      • TreasureListTreasureObj

        public TreasureListTreasureObj​(@NotNull
                                       @NotNull java.lang.String name,
                                       @NotNull
                                       @NotNull TreasureListTreasureObjType listType)
        Creates a new instance.
        Parameters:
        name - name of this treasure object
        listType - the list type
    • Method Detail

      • setListType

        public void setListType​(@NotNull
                                @NotNull TreasureListTreasureObjType listType)
        Sets the list type.
        Parameters:
        listType - the list type
      • appendToString

        protected void appendToString​(@NotNull
                                      @NotNull java.lang.StringBuilder sb)
        Description copied from class: TreasureObj
        Appends a description of this treasure object to a StringBuilder.
        Specified by:
        appendToString in class TreasureObj
        Parameters:
        sb - the string builder
      • copyListType

        public void copyListType​(@NotNull
                                 @NotNull TreasureObj treasureObj)
        Description copied from class: TreasureObj
        Copes the list type of a treasureone list.
        Specified by:
        copyListType in class TreasureObj
        Parameters:
        treasureObj - the node to copy from