Class AbstractSoundAnimation
java.lang.Object
xyz.xenondevs.invui.animation.impl.AbstractAnimation
xyz.xenondevs.invui.animation.impl.AbstractSoundAnimation
- All Implemented Interfaces:
Animation
- Direct Known Subclasses:
ColumnAnimation
,HorizontalSnakeAnimation
,RandomAnimation
,RowAnimation
,SequentialAnimation
,SplitSequentialAnimation
,VerticalSnakeAnimation
Abstract base class for animations that may use the entity pickup sound when displaying a slot.
-
Constructor Summary
ConstructorDescriptionAbstractSoundAnimation
(int tickDelay, boolean sound) Creates a newAbstractSoundAnimation
. -
Method Summary
Methods inherited from class xyz.xenondevs.invui.animation.impl.AbstractAnimation
addFinishHandler, addShowHandler, cancel, convToIndex, finish, getCurrentViewers, getHeight, getSlots, getWidth, handleFrame, setGui, setSlots, setWindows, show, start
-
Constructor Details
-
AbstractSoundAnimation
public AbstractSoundAnimation(int tickDelay, boolean sound) Creates a newAbstractSoundAnimation
.- Parameters:
tickDelay
- The delay between each framesound
- Whether the entity pickup sound should be played when displaying a slot
-