Class AudioAnimationHook
java.lang.Object
nl.pim16aap2.animatedarchitecture.core.audio.AudioAnimationHook
- All Implemented Interfaces:
IAnimationHook
Represents an
IAnimationHook that provides audio for animations.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiongetName()Returns the name of this hook.voidExecuted when the animation is in the finishing phase.voidExecuted after a new animation step is applied.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IAnimationHook
onAnimationAborted, onAnimationCompleted, onPreAnimationStep, onPrepare
-
Method Details
-
onPostAnimationStep
public void onPostAnimationStep()Description copied from interface:IAnimationHookExecuted after a new animation step is applied.Note that this may never happen if the animation is skipped.
- Specified by:
onPostAnimationStepin interfaceIAnimationHook
-
onAnimationEnding
public void onAnimationEnding()Description copied from interface:IAnimationHookExecuted when the animation is in the finishing phase.Note that this may never happen if the animation is skipped.
- Specified by:
onAnimationEndingin interfaceIAnimationHook
-
getName
Description copied from interface:IAnimationHookReturns the name of this hook.This is mostly used for logging purposes.
- Specified by:
getNamein interfaceIAnimationHook- Returns:
- The name of this hook.
-