org.xith3d.utility.hud
Class HUDFadeOutHandler
java.lang.Object
org.xith3d.loop.opscheduler.Interval
org.xith3d.schedops.properties.ValueInterpolator
org.xith3d.utility.hud.HUDFadeOutHandler
- All Implemented Interfaces:
- org.jagatoo.datatypes.NamableObject, org.jagatoo.datatypes.NamedObject
public class HUDFadeOutHandler
- extends ValueInterpolator
The HUDFadeOutHandler covers the HUD with a black Image and fades to black.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
HUDFadeOutHandler
public HUDFadeOutHandler(HUD hud,
OperationScheduler opScheder,
long fadeTime,
org.openmali.vecmath2.Colorf color)
HUDFadeOutHandler
public HUDFadeOutHandler(HUD hud,
OperationScheduler opScheder,
long fadeTime)
applyValue
protected void applyValue(float value)
- This method is invoked each time slice.
Override it to do someting useful with the normalized value.
- Specified by:
applyValue in class ValueInterpolator
onInterpolationFinished
protected void onInterpolationFinished()
- This method is invoked, when the interpolation has reached its final value.
- Overrides:
onInterpolationFinished in class ValueInterpolator
fade
public static void fade(HUD hud,
OperationScheduler opScheder,
long fadeTime,
org.openmali.vecmath2.Colorf color)
fade
public static void fade(HUD hud,
OperationScheduler opScheder,
long fadeTime)