Class BlinkingImage
- java.lang.Object
-
- be.yildizgames.module.graphic.gui.internal.BaseAnimationGui
-
- be.yildizgames.module.graphic.gui.image.ImageAnimation
-
- be.yildizgames.module.graphic.gui.image.animation.BlinkingImage
-
public class BlinkingImage extends ImageAnimation
Animation to show and hide an image alternatively.- Author:
- Grégory Van den Borre
-
-
Field Summary
-
Fields inherited from class be.yildizgames.module.graphic.gui.image.ImageAnimation
image
-
-
Constructor Summary
Constructors Constructor Description BlinkingImage(String name, long time)Create a blinking image animation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidstartImpl()protected voidupdateImpl(long time)-
Methods inherited from class be.yildizgames.module.graphic.gui.internal.BaseAnimationGui
getName, setCompleted
-
-
-
-
Constructor Detail
-
BlinkingImage
public BlinkingImage(String name, long time)
Create a blinking image animation.- Parameters:
name- Animation name.time- Time between show and hide states.
-
-
Method Detail
-
updateImpl
protected final void updateImpl(long time)
- Specified by:
updateImplin classBaseAnimationGui
-
startImpl
protected final void startImpl()
- Specified by:
startImplin classBaseAnimationGui
-
-