com.threerings.tudey.client.cursor
Class Cursor
java.lang.Object
com.threerings.expr.SimpleScope
com.threerings.tudey.client.cursor.Cursor
- All Implemented Interfaces:
- Scope, ScopeUpdateListener, Compositable, Tickable
- Direct Known Subclasses:
- EntryCursor, SelectionCursor
public abstract class Cursor
- extends SimpleScope
- implements Tickable, Compositable
Base class for cursors (representations used when placing objects).
| Fields inherited from interface com.threerings.expr.Scope |
EPOCH, NOW |
|
Method Summary |
void |
composite()
Adds this object's Dependencys and Enqueueables to the compositor in
preparation for rendering. |
String |
getScopeName()
Returns the name of this scope for purposes of qualification. |
void |
tick(float elapsed)
Updates the state of this object based on the elapsed time in seconds. |
Cursor
public Cursor(TudeyContext ctx,
TudeySceneView view)
- Creates the cursor.
tick
public void tick(float elapsed)
- Description copied from interface:
Tickable
- Updates the state of this object based on the elapsed time in seconds.
- Specified by:
tick in interface Tickable
composite
public void composite()
- Description copied from interface:
Compositable
- Adds this object's
Dependencys and Enqueueables to the compositor in
preparation for rendering.
- Specified by:
composite in interface Compositable
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.