com.threerings.tudey.client.sprite
Class PlaceableSprite.Prop

java.lang.Object
  extended by com.threerings.expr.SimpleScope
      extended by com.threerings.tudey.client.sprite.PlaceableSprite.Implementation
          extended by com.threerings.tudey.client.sprite.PlaceableSprite.Original
              extended by com.threerings.tudey.client.sprite.PlaceableSprite.Prop
All Implemented Interfaces:
Scope, ScopeUpdateListener
Direct Known Subclasses:
PlaceableSprite.ClickableProp
Enclosing class:
PlaceableSprite

public static class PlaceableSprite.Prop
extends PlaceableSprite.Original

A prop implementation.


Field Summary
 
Fields inherited from interface com.threerings.expr.Scope
EPOCH, NOW
 
Constructor Summary
PlaceableSprite.Prop(TudeyContext ctx, Scope parentScope, PlaceableConfig.Prop config)
          Creates a new prop implementation.
 
Method Summary
 int getFloorFlags()
          Returns the sprite's floor flags.
 void setConfig(PlaceableConfig.Original config)
          (Re)configures the implementation.
 
Methods inherited from class com.threerings.tudey.client.sprite.PlaceableSprite.Original
createTooltipComponent, dispose, getModel, update
 
Methods inherited from class com.threerings.tudey.client.sprite.PlaceableSprite.Implementation
dispatchEvent, getScopeName, getTooltipText, getTooltipTimeout, getTooltipWindowStyle, isClickable, isHoverable
 
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

PlaceableSprite.Prop

public PlaceableSprite.Prop(TudeyContext ctx,
                            Scope parentScope,
                            PlaceableConfig.Prop config)
Creates a new prop implementation.

Method Detail

setConfig

public void setConfig(PlaceableConfig.Original config)
Description copied from class: PlaceableSprite.Original
(Re)configures the implementation.

Overrides:
setConfig in class PlaceableSprite.Original

getFloorFlags

public int getFloorFlags()
Description copied from class: PlaceableSprite.Implementation
Returns the sprite's floor flags.

Overrides:
getFloorFlags in class PlaceableSprite.Implementation


Copyright © 2011. All Rights Reserved.