com.threerings.tudey.config
Class PlaceableConfig.Marker

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.tudey.config.PlaceableConfig.Implementation
          extended by com.threerings.tudey.config.PlaceableConfig.Original
              extended by com.threerings.tudey.config.PlaceableConfig.Marker
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Enclosing class:
PlaceableConfig

public static class PlaceableConfig.Marker
extends PlaceableConfig.Original

A marker implementation.


Field Summary
 
Fields inherited from class com.threerings.tudey.config.PlaceableConfig.Original
defaultEntrance, handlers, model, rotationOffset, shape, tags
 
Constructor Summary
PlaceableConfig.Marker()
           
 
Method Summary
 PlaceableSprite.Implementation getSpriteImplementation(TudeyContext ctx, Scope scope, PlaceableSprite.Implementation impl)
          Creates or updates a sprite implementation for this configuration.
 
Methods inherited from class com.threerings.tudey.config.PlaceableConfig.Original
getCollisionFlags, getCursorImplementation, getLogicClassName, getOriginal, getPreloads, invalidate
 
Methods inherited from class com.threerings.tudey.config.PlaceableConfig.Implementation
getUpdateReferences
 
Methods inherited from class com.threerings.util.DeepObject
clone, copy, copy, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PlaceableConfig.Marker

public PlaceableConfig.Marker()
Method Detail

getSpriteImplementation

public PlaceableSprite.Implementation getSpriteImplementation(TudeyContext ctx,
                                                              Scope scope,
                                                              PlaceableSprite.Implementation impl)
Description copied from class: PlaceableConfig.Implementation
Creates or updates a sprite implementation for this configuration.

Specified by:
getSpriteImplementation in class PlaceableConfig.Implementation
scope - the placeable's expression scope.
impl - an existing implementation to reuse, if possible.
Returns:
either a reference to the existing implementation (if reused), a new implementation, or null if no implementation could be created.


Copyright © 2011. All Rights Reserved.