|
||||||||||
| 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.data.TudeySceneModel.Paint
public static class TudeySceneModel.Paint
Contains information on a painted location.
| Nested Class Summary | |
|---|---|
static class |
TudeySceneModel.Paint.Type
The types of paint. |
| Field Summary | |
|---|---|
int |
elevation
The paintable's elevation. |
ConfigReference<? extends PaintableConfig> |
paintable
The configuration of the paintable. |
TudeySceneModel.Paint.Type |
type
The paint type. |
| Constructor Summary | |
|---|---|
TudeySceneModel.Paint()
No-arg constructor for deserialization. |
|
TudeySceneModel.Paint(TudeySceneModel.Paint.Type type,
ConfigReference<? extends PaintableConfig> paintable,
int elevation)
Default constructor. |
|
| Method Summary | ||
|---|---|---|
int |
encode(int idx)
Returns the encoded form of this paint entry. |
|
|
getConfig(ConfigManager cfgmgr,
Class<T> clazz)
Resolves the paintable configuration for this paint. |
|
| 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 |
|---|
public TudeySceneModel.Paint.Type type
public ConfigReference<? extends PaintableConfig> paintable
public int elevation
| Constructor Detail |
|---|
public TudeySceneModel.Paint(TudeySceneModel.Paint.Type type,
ConfigReference<? extends PaintableConfig> paintable,
int elevation)
public TudeySceneModel.Paint()
| Method Detail |
|---|
public <T extends PaintableConfig> T getConfig(ConfigManager cfgmgr,
Class<T> clazz)
public int encode(int idx)
idx - the paint config index.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||