|
||||||||||
| 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.PlaceableConfig.Implementation
com.threerings.tudey.config.PlaceableConfig.Original
public abstract static class PlaceableConfig.Original
Superclass of the original implementations.
| Field Summary | |
|---|---|
boolean |
defaultEntrance
Whether or not the placeable should be used as a default entrance. |
HandlerConfig[] |
handlers
The area's event handlers. |
ConfigReference<ModelConfig> |
model
The model to use to represent the placeable on the client. |
QuaternionVariable |
rotationOffset
A random offset to apply when placing. |
ShapeConfig |
shape
The shape of the placeable. |
TagConfig |
tags
Tags used to identify the placeable within the scene. |
| Constructor Summary | |
|---|---|
PlaceableConfig.Original()
|
|
| Method Summary | |
|---|---|
int |
getCollisionFlags()
Returns the placeable's collision flags. |
PlaceableCursor.Implementation |
getCursorImplementation(TudeyContext ctx,
Scope scope,
PlaceableCursor.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 placeable, or null for none. |
PlaceableConfig.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 placeable into the provided set. |
void |
invalidate()
Invalidates any cached data. |
| Methods inherited from class com.threerings.tudey.config.PlaceableConfig.Implementation |
|---|
getSpriteImplementation, 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 public boolean defaultEntrance
@Editable public QuaternionVariable rotationOffset
@Editable(nullable=true) public ConfigReference<ModelConfig> model
@Editable public ShapeConfig shape
@Editable public TagConfig tags
@Editable public HandlerConfig[] handlers
| Constructor Detail |
|---|
public PlaceableConfig.Original()
| Method Detail |
|---|
public int getCollisionFlags()
public String getLogicClassName()
null for none.
public void getPreloads(ConfigManager cfgmgr,
PreloadableSet preloads)
public PlaceableConfig.Original getOriginal(ConfigManager cfgmgr)
PlaceableConfig.Implementation
getOriginal in class PlaceableConfig.Implementation
public PlaceableCursor.Implementation getCursorImplementation(TudeyContext ctx,
Scope scope,
PlaceableCursor.Implementation impl)
PlaceableConfig.Implementation
getCursorImplementation in class PlaceableConfig.Implementationscope - the placeable's expression scope.impl - an existing implementation to reuse, if possible.
null if no implementation could be created.public void invalidate()
PlaceableConfig.Implementation
invalidate in class PlaceableConfig.Implementation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||