com.threerings.tudey.config
Class GroundConfig.EdgeCase
java.lang.Object
com.threerings.util.DeepObject
com.threerings.tudey.config.PaintableConfig.Case
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.
| Fields inherited from class com.threerings.tudey.config.PaintableConfig.Case |
_orientations, _patterns, e, n, ne, nw, s, se, sw, tiles, w |
GroundConfig.EdgeCase
public GroundConfig.EdgeCase()
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.