com.threerings.tudey.client.cursor
Class PlaceableCursor.Original

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

public static class PlaceableCursor.Original
extends PlaceableCursor.Implementation

The original implementation.


Field Summary
 
Fields inherited from interface com.threerings.expr.Scope
EPOCH, NOW
 
Constructor Summary
PlaceableCursor.Original(TudeyContext ctx, Scope parentScope, PlaceableConfig.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(PlaceableConfig.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.PlaceableEntry entry)
          Updates the cursor state.
 
Methods inherited from class com.threerings.tudey.client.cursor.PlaceableCursor.Implementation
getScopeName
 
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

PlaceableCursor.Original

public PlaceableCursor.Original(TudeyContext ctx,
                                Scope parentScope,
                                PlaceableConfig.Original config)
Creates a new implementation.

Method Detail

setConfig

public void setConfig(PlaceableConfig.Original config)
(Re)configures the implementation.


getShape

public Shape getShape()
Description copied from class: PlaceableCursor.Implementation
Returns a reference to the transformed shape.

Overrides:
getShape in class PlaceableCursor.Implementation

update

public void update(TudeySceneModel.PlaceableEntry entry)
Description copied from class: PlaceableCursor.Implementation
Updates the cursor state.

Overrides:
update in class PlaceableCursor.Implementation

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
Overrides:
tick in class PlaceableCursor.Implementation

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
Overrides:
composite in class PlaceableCursor.Implementation


Copyright © 2011. All Rights Reserved.