Interface Fox

    • Method Detail

      • getFoxType

        @NotNull
        Fox.Type getFoxType()
        Gets the current type of this fox.
        Returns:
        Type of the fox.
      • setFoxType

        void setFoxType​(@NotNull
                        Fox.Type type)
        Sets the current type of this fox.
        Parameters:
        type - New type of this fox.
      • isCrouching

        boolean isCrouching()
        Checks if this animal is crouching
        Returns:
        true if crouching
      • setCrouching

        void setCrouching​(boolean crouching)
        Sets if this animal is crouching.
        Parameters:
        crouching - true if crouching
      • setSleeping

        void setSleeping​(boolean sleeping)
        Sets if this animal is sleeping.
        Parameters:
        sleeping - true if sleeping