Interface ITreasureMapOwner

    • Method Detail

      • getName

        java.lang.String getName()
        Name of the owner
        Returns:
        of the map owner.
      • getPrice

        int getPrice()
        Retrieve the price of the treasure map.
        Returns:
        for the map segment
      • setName

        void setName​(java.lang.String name)
        Set the name of the map owner
        Parameters:
        name - of map owner
      • setPrice

        void setPrice​(int price)
        Set the price for a map segment
        Parameters:
        price - for the map segment.