com.threerings.tudey.config
Class PaintableConfig

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
All Implemented Interfaces:
ConfigUpdateListener<ManagedConfig>, Exportable, com.threerings.resource.ResourceManager.ModificationObserver, Copyable, Cloneable
Direct Known Subclasses:
GroundConfig, WallConfig

@Strippable
public abstract class PaintableConfig
extends ParameterizedConfig

Base class for GroundConfig and WallConfig.


Nested Class Summary
static class PaintableConfig.Case
          Represents a single case.
static class PaintableConfig.Tile
          Contains a tile that can be used for a case.
 
Field Summary
 
Fields inherited from class com.threerings.config.ParameterizedConfig
parameters
 
Constructor Summary
PaintableConfig()
           
 
Method Summary
static int createPattern(boolean n, boolean nw, boolean w, boolean sw, boolean s, boolean se, boolean e, boolean ne)
          Creates a bit pattern with the supplied directions.
 
Methods inherited from class com.threerings.config.ParameterizedConfig
getInstance, getParameter, getReference, validateOuters, validateReferences, wasUpdated
 
Methods inherited from class com.threerings.config.ManagedConfig
addListener, configUpdated, getConfigManager, getInstance, getInstance, getInstance, getInstance, getName, 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
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PaintableConfig

public PaintableConfig()
Method Detail

createPattern

public static int createPattern(boolean n,
                                boolean nw,
                                boolean w,
                                boolean sw,
                                boolean s,
                                boolean se,
                                boolean e,
                                boolean ne)
Creates a bit pattern with the supplied directions.



Copyright © 2011. All Rights Reserved.