Interface TropicalFish

    • Method Detail

      • getPatternColor

        @NotNull
        @NotNull DyeColor getPatternColor()
        Gets the color of the fish's pattern.
        Returns:
        pattern color
      • setPatternColor

        void setPatternColor​(@NotNull
                             @NotNull DyeColor color)
        Sets the color of the fish's pattern
        Parameters:
        color - pattern color
      • getBodyColor

        @NotNull
        @NotNull DyeColor getBodyColor()
        Gets the color of the fish's body.
        Returns:
        pattern color
      • setBodyColor

        void setBodyColor​(@NotNull
                          @NotNull DyeColor color)
        Sets the color of the fish's body
        Parameters:
        color - body color
      • getPattern

        @NotNull
        @NotNull TropicalFish.Pattern getPattern()
        Gets the fish's pattern.
        Returns:
        pattern
      • setPattern

        void setPattern​(@NotNull
                        @NotNull TropicalFish.Pattern pattern)
        Sets the fish's pattern
        Parameters:
        pattern - new pattern