|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.util.DeepObject
com.threerings.config.ManagedConfig
com.threerings.config.ParameterizedConfig
com.threerings.tudey.config.TileConfig
public class TileConfig
The configuration of a tile.
| Nested Class Summary | |
|---|---|
static class |
TileConfig.Derived
A derived implementation. |
static class |
TileConfig.Implementation
Contains the actual implementation of the tile. |
static class |
TileConfig.Original
An original tile implementation. |
| Field Summary | |
|---|---|
TileConfig.Implementation |
implementation
The actual tile implementation. |
static TileConfig.Original |
NULL_ORIGINAL
Used when we can't resolve the tile's underlying original implementation. |
| Fields inherited from class com.threerings.config.ParameterizedConfig |
|---|
parameters |
| Constructor Summary | |
|---|---|
TileConfig()
|
|
| Method Summary | |
|---|---|
TileCursor.Implementation |
getCursorImplementation(TudeyContext ctx,
Scope scope,
TileCursor.Implementation impl)
Creates or updates a cursor implementation for this configuration. |
TileConfig.Original |
getOriginal(ConfigManager cfgmgr)
Returns a reference to the config's underlying original implementation. |
TileSprite.Implementation |
getSpriteImplementation(TudeyContext ctx,
Scope scope,
TileSprite.Implementation impl)
Creates or updates a sprite implementation for this configuration. |
| Methods inherited from class com.threerings.config.ParameterizedConfig |
|---|
getInstance, getParameter, getReference, validateOuters, validateReferences, wasUpdated |
| Methods inherited from class com.threerings.config.ManagedConfig |
|---|
addListener, configUpdated, getConfigManager, getInstance, getInstance, getInstance, getInstance, getName, init, removeListener, resourceModified, setName, updateFromSource |
| 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 static final TileConfig.Original NULL_ORIGINAL
@Editable public TileConfig.Implementation implementation
| Constructor Detail |
|---|
public TileConfig()
| Method Detail |
|---|
public TileConfig.Original getOriginal(ConfigManager cfgmgr)
public TileCursor.Implementation getCursorImplementation(TudeyContext ctx,
Scope scope,
TileCursor.Implementation impl)
scope - the tile's expression scope.impl - an existing implementation to reuse, if possible.
null if no implementation could be created.
public TileSprite.Implementation getSpriteImplementation(TudeyContext ctx,
Scope scope,
TileSprite.Implementation impl)
scope - the tile's expression scope.impl - an existing implementation to reuse, if possible.
null if no implementation could be created.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||