|
||||||||||
| 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.PathConfig.Implementation
com.threerings.tudey.config.PathConfig.Original
public static class PathConfig.Original
An original implementation.
| Field Summary | |
|---|---|
Color4f |
color
The color to use when showing this path in the scene editor. |
boolean |
defaultEntrance
Whether or not the path should be used as a default entrance. |
HandlerConfig[] |
handlers
The path's event handlers. |
TagConfig |
tags
Tags used to identify the path within the scene. |
| Constructor Summary | |
|---|---|
PathConfig.Original()
Default constructor. |
|
PathConfig.Original(Color4f color)
Creates an implementation with the specified color. |
|
| Method Summary | |
|---|---|
PathCursor.Implementation |
getCursorImplementation(TudeyContext ctx,
Scope scope,
PathCursor.Implementation impl)
Creates or updates a cursor implementation for this configuration. |
String |
getLogicClassName()
Returns the name of the server-side logic class to use for the path, or null for none. |
PathConfig.Original |
getOriginal(ConfigManager cfgmgr)
Returns a reference to the config's underlying original implementation. |
void |
getPreloads(ConfigManager cfgmgr,
PreloadableSet preloads)
Adds the resources to preload for this path into the provided set. |
PathSprite.Implementation |
getSpriteImplementation(TudeyContext ctx,
Scope scope,
PathSprite.Implementation impl)
Creates or updates a sprite implementation for this configuration. |
void |
invalidate()
Invalidates any cached data. |
| Methods inherited from class com.threerings.tudey.config.PathConfig.Implementation |
|---|
getUpdateReferences |
| 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(mode="alpha",
hgroup="c")
@Strippable
public Color4f color
@Editable(hgroup="c") @Strippable public boolean defaultEntrance
@Editable public TagConfig tags
@Editable public HandlerConfig[] handlers
| Constructor Detail |
|---|
public PathConfig.Original()
public PathConfig.Original(Color4f color)
| Method Detail |
|---|
public String getLogicClassName()
null for none.
public void getPreloads(ConfigManager cfgmgr,
PreloadableSet preloads)
public PathConfig.Original getOriginal(ConfigManager cfgmgr)
PathConfig.Implementation
getOriginal in class PathConfig.Implementation
public PathCursor.Implementation getCursorImplementation(TudeyContext ctx,
Scope scope,
PathCursor.Implementation impl)
PathConfig.Implementation
getCursorImplementation in class PathConfig.Implementationscope - the path's expression scope.impl - an existing implementation to reuse, if possible.
null if no implementation could be created.
public PathSprite.Implementation getSpriteImplementation(TudeyContext ctx,
Scope scope,
PathSprite.Implementation impl)
PathConfig.Implementation
getSpriteImplementation in class PathConfig.Implementationscope - the path's expression scope.impl - an existing implementation to reuse, if possible.
null if no implementation could be created.public void invalidate()
PathConfig.Implementation
invalidate in class PathConfig.Implementation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||