|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.expr.SimpleScope
com.threerings.tudey.client.sprite.AreaSprite.Implementation
public abstract static class AreaSprite.Implementation
The actual sprite implementation.
| Field Summary |
|---|
| Fields inherited from interface com.threerings.expr.Scope |
|---|
EPOCH, NOW |
| Constructor Summary | |
|---|---|
AreaSprite.Implementation(Scope parentScope)
Creates a new implementation. |
|
| Method Summary | |
|---|---|
int |
getEdgeIndex(Model model)
Returns the index of the specified model within the list of edge models, or -1 if it is not an edge. |
String |
getScopeName()
Returns the name of this scope for purposes of qualification. |
int |
getVertexIndex(Model model)
Returns the index of the specified model within the list of vertex models, or -1 if it is not a vertex. |
void |
setVisible(boolean visible)
Update the visibility. |
void |
update(TudeySceneModel.AreaEntry entry)
Updates the implementation to match the area state. |
| Methods inherited from class com.threerings.expr.SimpleScope |
|---|
addListener, dispose, get, getParentScope, removeListener, scopeUpdated |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AreaSprite.Implementation(Scope parentScope)
| Method Detail |
|---|
public int getVertexIndex(Model model)
public int getEdgeIndex(Model model)
public void update(TudeySceneModel.AreaEntry entry)
public void setVisible(boolean visible)
public String getScopeName()
Scopenull
if qualified symbols cannot specifically address this scope.
getScopeName in interface ScopegetScopeName in class SimpleScope
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||