Interface TropicalFish

    • Method Detail

      • getPatternColor

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

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

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

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

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