|
||||||||||
| 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.AreaConfig.Implementation
com.threerings.tudey.config.AreaConfig.Original
public static class AreaConfig.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 area should be used as a default entrance. |
HandlerConfig[] |
handlers
The area's event handlers. |
TagConfig |
tags
Tags used to identify the area within the scene. |
| Constructor Summary | |
|---|---|
AreaConfig.Original()
Default constructor. |
|
AreaConfig.Original(Color4f color)
Creates an implementation with the specified color. |
|
| Method Summary | |
|---|---|
AreaCursor.Implementation |
getCursorImplementation(TudeyContext ctx,
Scope scope,
AreaCursor.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 area, or null for none. |
AreaConfig.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 area into the provided set. |
AreaSprite.Implementation |
getSpriteImplementation(TudeyContext ctx,
Scope scope,
AreaSprite.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.AreaConfig.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 AreaConfig.Original()
public AreaConfig.Original(Color4f color)
| Method Detail |
|---|
public String getLogicClassName()
null for none.
public void getPreloads(ConfigManager cfgmgr,
PreloadableSet preloads)
public AreaConfig.Original getOriginal(ConfigManager cfgmgr)
AreaConfig.Implementation
getOriginal in class AreaConfig.Implementation
public AreaCursor.Implementation getCursorImplementation(TudeyContext ctx,
Scope scope,
AreaCursor.Implementation impl)
AreaConfig.Implementation
getCursorImplementation in class AreaConfig.Implementationscope - the area's expression scope.impl - an existing implementation to reuse, if possible.
null if no implementation could be created.
public AreaSprite.Implementation getSpriteImplementation(TudeyContext ctx,
Scope scope,
AreaSprite.Implementation impl)
AreaConfig.Implementation
getSpriteImplementation in class AreaConfig.Implementationscope - the area's expression scope.impl - an existing implementation to reuse, if possible.
null if no implementation could be created.public void invalidate()
AreaConfig.Implementation
invalidate in class AreaConfig.Implementation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||