|
|||||||||
| 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.cursor.AreaCursor.Implementation
com.threerings.tudey.client.cursor.AreaCursor.Original
public static class AreaCursor.Original
An original implementation.
| Field Summary | |
|---|---|
protected AreaElement |
_area
Displays the actual area. |
protected ColorState |
_colorState
The shared color state. |
protected TudeyContext |
_ctx
The renderer context. |
protected Model[] |
_edges
The models representing the edges. |
protected ShapeSceneElement |
_footprint
The footprint. |
protected Model[] |
_vertices
The models representing the vertices. |
| Fields inherited from class com.threerings.expr.SimpleScope |
|---|
_parentScope |
| Fields inherited from interface com.threerings.expr.Scope |
|---|
EPOCH, NOW |
| Constructor Summary | |
|---|---|
AreaCursor.Original(TudeyContext ctx,
Scope parentScope,
AreaConfig.Original config)
Creates a new implementation. |
|
| Method Summary | |
|---|---|
void |
composite()
Adds this object's Dependencys and Enqueueables to the compositor in
preparation for rendering. |
Shape |
getShape()
Returns a reference to the transformed shape. |
void |
setConfig(AreaConfig.Original config)
(Re)configures the implementation. |
void |
tick(float elapsed)
Updates the state of this object based on the elapsed time in seconds. |
void |
update(TudeySceneModel.AreaEntry entry)
Updates the implementation to match the area state. |
| Methods inherited from class com.threerings.tudey.client.cursor.AreaCursor.Implementation |
|---|
getScopeName |
| Methods inherited from class com.threerings.expr.SimpleScope |
|---|
addListener, dispose, get, getParentScope, removeListener, scopeUpdated |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected TudeyContext _ctx
protected Model[] _vertices
protected Model[] _edges
protected AreaElement _area
protected ShapeSceneElement _footprint
protected ColorState _colorState
| Constructor Detail |
|---|
public AreaCursor.Original(TudeyContext ctx,
Scope parentScope,
AreaConfig.Original config)
| Method Detail |
|---|
public void setConfig(AreaConfig.Original config)
public Shape getShape()
AreaCursor.Implementation
getShape in class AreaCursor.Implementationpublic void update(TudeySceneModel.AreaEntry entry)
AreaCursor.Implementation
update in class AreaCursor.Implementationpublic void tick(float elapsed)
Tickable
tick in interface Tickabletick in class AreaCursor.Implementationpublic void composite()
CompositableDependencys and Enqueueables to the compositor in
preparation for rendering.
composite in interface Compositablecomposite in class AreaCursor.Implementation
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||