Class Block.SoundType

  • Enclosing class:
    Block

    public static class Block.SoundType
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      float frequency  
      java.lang.String soundName  
      float volume  
    • Constructor Summary

      Constructors 
      Constructor Description
      SoundType​(java.lang.String name, float volume, float frequency)  
    • Field Detail

      • soundName

        public final java.lang.String soundName
      • volume

        public final float volume
      • frequency

        public final float frequency
    • Constructor Detail

      • SoundType

        public SoundType​(java.lang.String name,
                         float volume,
                         float frequency)
    • Method Detail

      • getVolume

        public float getVolume()
      • getFrequency

        public float getFrequency()
      • getBreakSound

        public java.lang.String getBreakSound()
      • getStepSound

        public java.lang.String getStepSound()
      • getPlaceSound

        public java.lang.String getPlaceSound()