Class AudioAnimationHook

java.lang.Object
nl.pim16aap2.animatedarchitecture.core.audio.AudioAnimationHook
All Implemented Interfaces:
IAnimationHook

public final class AudioAnimationHook extends Object implements IAnimationHook
Represents an IAnimationHook that provides audio for animations.
  • Method Details

    • onPostAnimationStep

      public void onPostAnimationStep()
      Description copied from interface: IAnimationHook
      Executed after a new animation step is applied.

      Note that this may never happen if the animation is skipped.

      Specified by:
      onPostAnimationStep in interface IAnimationHook
    • onAnimationEnding

      public void onAnimationEnding()
      Description copied from interface: IAnimationHook
      Executed when the animation is in the finishing phase.

      Note that this may never happen if the animation is skipped.

      Specified by:
      onAnimationEnding in interface IAnimationHook
    • getName

      public String getName()
      Description copied from interface: IAnimationHook
      Returns the name of this hook.

      This is mostly used for logging purposes.

      Specified by:
      getName in interface IAnimationHook
      Returns:
      The name of this hook.