com.threerings.tudey.config
Class WallConfig

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.config.ManagedConfig
          extended by com.threerings.config.ParameterizedConfig
              extended by com.threerings.tudey.config.PaintableConfig
                  extended by com.threerings.tudey.config.WallConfig
All Implemented Interfaces:
ConfigUpdateListener<ManagedConfig>, Exportable, ResourceManager.ModificationObserver, Copyable, Cloneable

public class WallConfig
extends PaintableConfig

The configuration of a wall type.


Nested Class Summary
static class WallConfig.Derived
          A derived implementation.
static class WallConfig.Implementation
          Contains the actual implementation of the wall type.
static class WallConfig.Original
          An original wall implementation.
 
Nested classes/interfaces inherited from class com.threerings.tudey.config.PaintableConfig
PaintableConfig.Case, PaintableConfig.Tile, PaintableConfig.TileRotation
 
Field Summary
 WallConfig.Implementation implementation
          The actual wall implementation.
 
Fields inherited from class com.threerings.config.ParameterizedConfig
_args, _base, _derived, parameters
 
Fields inherited from class com.threerings.config.ManagedConfig
_cfgmgr, _listeners, _name, _updateConfigs, _updateResources
 
Constructor Summary
WallConfig()
           
 
Method Summary
protected  void fireConfigUpdated()
          Fires a configuration updated event.
 WallConfig.Original getOriginal(ConfigManager cfgmgr)
          Returns a reference to the config's underlying original implementation.
protected  void getUpdateReferences(ConfigReferenceSet refs)
          Collects all of the references within this config to configs that, when updated, should trigger a call to ManagedConfig.fireConfigUpdated().
 
Methods inherited from class com.threerings.tudey.config.PaintableConfig
createPattern, createRandomEntry, createRandomEntry, createRandomEntry, getCaseRotations, matchesAny, matchesAny
 
Methods inherited from class com.threerings.config.ParameterizedConfig
applyArguments, applyArguments, getBound, getInstance, getParameter, getParameter, getReference, maybeFireOnConfigManager, validateOuters, validateReferences, wasUpdated
 
Methods inherited from class com.threerings.config.ManagedConfig
addListener, addUpdateDependencies, clearUpdateDependencies, configUpdated, getConfigManager, getInstance, getInstance, getInstance, getInstance, getName, getUpdateResources, init, removeListener, resourceModified, setName, updateFromSource
 
Methods inherited from class com.threerings.util.DeepObject
clone, copy, copy, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

implementation

@Editable
public WallConfig.Implementation implementation
The actual wall implementation.

Constructor Detail

WallConfig

public WallConfig()
Method Detail

getOriginal

public WallConfig.Original getOriginal(ConfigManager cfgmgr)
Returns a reference to the config's underlying original implementation.


fireConfigUpdated

protected void fireConfigUpdated()
Description copied from class: ManagedConfig
Fires a configuration updated event.

Overrides:
fireConfigUpdated in class ManagedConfig

getUpdateReferences

protected void getUpdateReferences(ConfigReferenceSet refs)
Description copied from class: ManagedConfig
Collects all of the references within this config to configs that, when updated, should trigger a call to ManagedConfig.fireConfigUpdated().

Overrides:
getUpdateReferences in class ManagedConfig