com.threerings.tudey.config
Class GroundConfig.EdgeCase

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.tudey.config.PaintableConfig.Case
          extended by com.threerings.tudey.config.GroundConfig.EdgeCase
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Direct Known Subclasses:
GroundConfig.TransitionCase
Enclosing class:
GroundConfig

@EditorTypes(value={GroundConfig.EdgeCase.class,GroundConfig.TransitionCase.class})
public static class GroundConfig.EdgeCase
extends PaintableConfig.Case

Ground edge case class.


Field Summary
 
Fields inherited from class com.threerings.tudey.config.PaintableConfig.Case
e, n, ne, nw, s, se, sw, tiles, w
 
Constructor Summary
GroundConfig.EdgeCase()
           
 
Method Summary
 int getRotations(TudeySceneModel scene, ConfigReference<GroundConfig> ref, GroundConfig.Original original, int x, int y, int elevation)
          Returns a bit set containing the rotations of this case that match the specified pattern.
 
Methods inherited from class com.threerings.tudey.config.PaintableConfig.Case
getRotations, getUpdateReferences, invalidate
 
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

GroundConfig.EdgeCase

public GroundConfig.EdgeCase()
Method Detail

getRotations

public int getRotations(TudeySceneModel scene,
                        ConfigReference<GroundConfig> ref,
                        GroundConfig.Original original,
                        int x,
                        int y,
                        int elevation)
Returns a bit set containing the rotations of this case that match the specified pattern.



Copyright © 2011. All Rights Reserved.