|
||||||||||
| 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.PaintableConfig.Tile
public static class PaintableConfig.Tile
Contains a tile that can be used for a case.
| Field Summary | |
|---|---|
boolean |
east
Whether or not the tile can be oriented in each direction. |
int |
elevationOffset
The elevation offset of the tile. |
boolean |
north
Whether or not the tile can be oriented in each direction. |
boolean |
south
Whether or not the tile can be oriented in each direction. |
ConfigReference<TileConfig> |
tile
The tile reference. |
float |
weight
The weight of the tile (affects how often it occurs). |
boolean |
west
Whether or not the tile can be oriented in each direction. |
| Constructor Summary | |
|---|---|
PaintableConfig.Tile()
|
|
| Method Summary | |
|---|---|
void |
getRotations(ConfigManager cfgmgr,
ArrayList<com.threerings.tudey.config.PaintableConfig.TileRotation> rotations,
int mask,
int maxWidth,
int maxHeight)
Adds the tile rotation options to the provided list. |
void |
invalidate()
Invalidates any cached data. |
boolean |
matches(TudeySceneModel.TileEntry entry,
int elevation)
Determines whether the specified tile entry matches this 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<TileConfig> tile
@Editable(hgroup="d") public boolean north
@Editable(hgroup="d") public boolean west
@Editable(hgroup="d") public boolean south
@Editable(hgroup="d") public boolean east
@Editable(hgroup="e") public int elevationOffset
@Editable(min=0.0,
step=0.01,
hgroup="e")
public float weight
| Constructor Detail |
|---|
public PaintableConfig.Tile()
| Method Detail |
|---|
public boolean matches(TudeySceneModel.TileEntry entry,
int elevation)
public void getRotations(ConfigManager cfgmgr,
ArrayList<com.threerings.tudey.config.PaintableConfig.TileRotation> rotations,
int mask,
int maxWidth,
int maxHeight)
public void invalidate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||