com.threerings.tudey.client.cursor
Class PathCursor.Implementation

java.lang.Object
  extended by com.threerings.expr.SimpleScope
      extended by com.threerings.tudey.client.cursor.PathCursor.Implementation
All Implemented Interfaces:
Scope, ScopeUpdateListener, Compositable, Tickable
Direct Known Subclasses:
PathCursor.Original
Enclosing class:
PathCursor

public abstract static class PathCursor.Implementation
extends SimpleScope
implements Tickable, Compositable

The actual cursor implementation.


Field Summary
 
Fields inherited from interface com.threerings.expr.Scope
EPOCH, NOW
 
Constructor Summary
PathCursor.Implementation(Scope parentScope)
          Creates a new implementation.
 
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.
 Shape getShape()
          Returns a reference to the transformed shape.
 void tick(float elapsed)
          Updates the state of this object based on the elapsed time in seconds.
 void update(TudeySceneModel.PathEntry entry)
          Updates the implementation to match the path 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

PathCursor.Implementation

public PathCursor.Implementation(Scope parentScope)
Creates a new implementation.

Method Detail

getShape

public Shape getShape()
Returns a reference to the transformed shape.


update

public void update(TudeySceneModel.PathEntry entry)
Updates the implementation to match the path state.


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.