|
||||||||||
| 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.Cursor
com.threerings.tudey.client.cursor.EntryCursor
com.threerings.tudey.client.cursor.PlaceableCursor
public class PlaceableCursor
A cursor for a placeable object.
| Nested Class Summary | |
|---|---|
static class |
PlaceableCursor.Implementation
The actual cursor implementation. |
static class |
PlaceableCursor.Original
The original implementation. |
| Field Summary |
|---|
| Fields inherited from interface com.threerings.expr.Scope |
|---|
EPOCH, NOW |
| Constructor Summary | |
|---|---|
PlaceableCursor(TudeyContext ctx,
TudeySceneView view,
TudeySceneModel.PlaceableEntry entry)
Creates a new placeable cursor. |
|
| Method Summary | |
|---|---|
void |
composite()
Adds this object's Dependencys and Enqueueables to the compositor in
preparation for rendering. |
void |
configUpdated(ConfigEvent<PlaceableConfig> event)
Called when a configuration has been updated. |
void |
dispose()
Releases the resources associated with this scope. |
TudeySceneModel.Entry |
getEntry()
Returns a reference to the most recently set entry state. |
Shape |
getShape()
Returns a reference to the shape of the entry (or null for none). |
void |
tick(float elapsed)
Updates the state of this object based on the elapsed time in seconds. |
void |
update(TudeySceneModel.Entry entry)
Updates the cursor with new entry state. |
| Methods inherited from class com.threerings.tudey.client.cursor.Cursor |
|---|
getScopeName |
| Methods inherited from class com.threerings.expr.SimpleScope |
|---|
addListener, get, getParentScope, removeListener, scopeUpdated |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PlaceableCursor(TudeyContext ctx,
TudeySceneView view,
TudeySceneModel.PlaceableEntry entry)
| Method Detail |
|---|
public void configUpdated(ConfigEvent<PlaceableConfig> event)
ConfigUpdateListener
configUpdated in interface ConfigUpdateListener<PlaceableConfig>public TudeySceneModel.Entry getEntry()
EntryCursor
getEntry in class EntryCursorpublic Shape getShape()
EntryCursornull for none).
getShape in class EntryCursorpublic void update(TudeySceneModel.Entry entry)
EntryCursor
update in class EntryCursorpublic void tick(float elapsed)
Tickable
tick in interface Tickabletick in class Cursorpublic void composite()
CompositableDependencys and Enqueueables to the compositor in
preparation for rendering.
composite in interface Compositablecomposite in class Cursorpublic void dispose()
SimpleScope
dispose in class SimpleScope
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||