com.threerings.tudey.client.sprite
Class EffectSprite
java.lang.Object
com.threerings.expr.SimpleScope
com.threerings.tudey.client.sprite.Sprite
com.threerings.tudey.client.sprite.EffectSprite
- All Implemented Interfaces:
- Scope, ScopeUpdateListener, TudeySceneView.TickParticipant
public class EffectSprite
- extends Sprite
- implements TudeySceneView.TickParticipant
Handles the display of a stateless effect.
| Fields inherited from interface com.threerings.expr.Scope |
EPOCH, NOW |
|
Method Summary |
boolean |
tick(int delayedTime)
Ticks the participant. |
| Methods inherited from class com.threerings.tudey.client.sprite.Sprite |
createTooltipComponent, dispatchEvent, getFloorFlags, getFloorMask, getModel, getScopeName, getTooltipText, getTooltipTimeout, getTooltipWindowStyle, isClickable, isHoverable, setVisible |
EffectSprite
public EffectSprite(TudeyContext ctx,
TudeySceneView view,
Effect effect)
- Creates a new effect sprite.
tick
public boolean tick(int delayedTime)
- Description copied from interface:
TudeySceneView.TickParticipant
- Ticks the participant.
- Specified by:
tick in interface TudeySceneView.TickParticipant
- Parameters:
delayedTime - the current delayed client time.
- Returns:
- true to continue ticking the participant, false to remove it from the list.
Copyright © 2011. All Rights Reserved.