com.threerings.tudey.client.sprite
Class EffectSprite.Implementation
java.lang.Object
com.threerings.expr.SimpleScope
com.threerings.tudey.client.sprite.EffectSprite.Implementation
- All Implemented Interfaces:
- Scope, ScopeUpdateListener
- Direct Known Subclasses:
- EffectSprite.Original
- Enclosing class:
- EffectSprite
public abstract static class EffectSprite.Implementation
- extends SimpleScope
The actual sprite implementation.
| Fields inherited from interface com.threerings.expr.Scope |
EPOCH, NOW |
|
Method Summary |
String |
getScopeName()
Returns the name of this scope for purposes of qualification. |
boolean |
tick(float elapsed)
Updates the state of the sprite. |
EffectSprite.Implementation
public EffectSprite.Implementation(Scope parentScope)
- Creates a new implementation.
tick
public boolean tick(float elapsed)
- Updates the state of the sprite.
- Returns:
- true to keep the sprite in the tick list, false to remove it.
getScopeName
public String getScopeName()
- Description copied from interface:
Scope
- Returns the name of this scope for purposes of qualification. Can return
null
if qualified symbols cannot specifically address this scope.
- Specified by:
getScopeName in interface Scope- Overrides:
getScopeName in class SimpleScope
Copyright © 2011. All Rights Reserved.