|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.util.DeepObject
com.threerings.tudey.config.WallConfig.Implementation
com.threerings.tudey.config.WallConfig.Original
public static class WallConfig.Original
An original wall implementation.
| Field Summary | |
|---|---|
PaintableConfig.Case[] |
cases
The wall cases. |
ConfigReference<GroundConfig> |
ground
The ground underlying the wall. |
| Constructor Summary | |
|---|---|
WallConfig.Original()
|
|
| Method Summary | |
|---|---|
TudeySceneModel.TileEntry |
createWall(ConfigManager cfgmgr,
IntTuple caseRotations,
int maxWidth,
int maxHeight,
int elevation)
Creates a new wall tile with the supplied case/rotations and maximum dimensions. |
WallConfig.Original |
getOriginal(ConfigManager cfgmgr)
Returns a reference to the config's underlying original implementation. |
void |
getUpdateReferences(ConfigReferenceSet refs)
Adds the implementation's update references to the provided set. |
IntTuple |
getWallCaseRotations(int pattern)
Determines the case and allowed rotations of the wall tile that matches the specified pattern. |
void |
invalidate()
Invalidates any cached data. |
boolean |
isWall(TudeySceneModel.TileEntry entry,
int elevation)
Checks whether the specified entry matches any wall case. |
boolean |
isWall(TudeySceneModel.TileEntry entry,
IntTuple caseRotations,
int elevation)
Checks whether the specified entry qualifies as a wall tile. |
| 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 |
| Field Detail |
|---|
@Editable(nullable=true) public ConfigReference<GroundConfig> ground
@Editable public PaintableConfig.Case[] cases
| Constructor Detail |
|---|
public WallConfig.Original()
| Method Detail |
|---|
public boolean isWall(TudeySceneModel.TileEntry entry,
int elevation)
public IntTuple getWallCaseRotations(int pattern)
public boolean isWall(TudeySceneModel.TileEntry entry,
IntTuple caseRotations,
int elevation)
public TudeySceneModel.TileEntry createWall(ConfigManager cfgmgr,
IntTuple caseRotations,
int maxWidth,
int maxHeight,
int elevation)
public void getUpdateReferences(ConfigReferenceSet refs)
WallConfig.Implementation
getUpdateReferences in class WallConfig.Implementationpublic WallConfig.Original getOriginal(ConfigManager cfgmgr)
WallConfig.Implementation
getOriginal in class WallConfig.Implementationpublic void invalidate()
WallConfig.Implementation
invalidate in class WallConfig.Implementation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||