Class SoundEffectPlayed


  • public class SoundEffectPlayed
    extends java.lang.Object
    • Constructor Detail

      • SoundEffectPlayed

        public SoundEffectPlayed​(@Nullable
                                 Actor source)
    • Method Detail

      • consume

        public void consume()
      • getSource

        @Nullable
        public Actor getSource()
      • getSoundId

        public int getSoundId()
      • getDelay

        public int getDelay()
      • isConsumed

        public boolean isConsumed()
      • setSoundId

        public void setSoundId​(int soundId)
      • setDelay

        public void setDelay​(int delay)
      • setConsumed

        public void setConsumed​(boolean consumed)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object