|
||||||||||
| 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.Entry
public abstract static class TudeySceneModel.Entry
An entry in the scene.
| Constructor Summary | |
|---|---|
TudeySceneModel.Entry()
|
|
| Method Summary | |
|---|---|
EntryCursor |
createCursor(TudeyContext ctx,
TudeySceneView view)
Creates a cursor for this entry (or returns null for none). |
SpaceElement |
createElement(ConfigManager cfgmgr)
Creates the space element for this entry (or returns null for none). |
Vector2f[] |
createPatrolPath(Shape shape)
Creates the patrol path for this entry, or returns null for none. |
Shape |
createShape(ConfigManager cfgmgr)
Creates the shape for this entry, or returns null for none. |
abstract EntrySprite |
createSprite(TudeyContext ctx,
TudeySceneView view)
Creates a sprite for this entry. |
void |
getBounds(ConfigManager cfgmgr,
Rect result)
Finds the bounds of the entry. |
int |
getCollisionFlags(ConfigManager cfgmgr)
Returns the entry's collision flags. |
int |
getElevation()
Returns the elevation of the entry, or Integer.MIN_VALUE for none. |
abstract HandlerConfig[] |
getHandlers(ConfigManager cfgmgr)
Returns the entry's handler configs, if any. |
abstract Object |
getKey()
Returns the key for this entry. |
abstract String |
getLogicClassName(ConfigManager cfgmgr)
Returns the name of the server-side logic class to use for the entry, or null for none. |
ConfigReference<ModelConfig> |
getModel(ConfigManager cfgmgr)
Returns a reference to the model associated with the entry, if any. |
abstract void |
getPreloads(ConfigManager cfgmgr,
PreloadableSet preloads)
Adds the resources to preload for this entry to the supplied set. |
abstract ConfigReference |
getReference()
Returns a reference to this entry's config reference. |
float |
getRotation(ConfigManager cfgmgr)
Returns the entry's approximate rotation. |
abstract String[] |
getTags(ConfigManager cfgmgr)
Returns the entry's tags, if any. |
Vector2f |
getTranslation(ConfigManager cfgmgr)
Returns the entry's approximate translation. |
boolean |
isDefaultEntrance(ConfigManager cfgmgr)
Determines whether the entry represents a default entrance. |
abstract boolean |
isValid(ConfigManager cfgmgr)
Determines whether this entry has a valid configuration. |
abstract void |
setReference(ConfigReference reference)
Sets this entry's config reference. |
void |
transform(ConfigManager cfgmgr,
Transform3D xform)
Transforms the entry. |
| 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 |
| Constructor Detail |
|---|
public TudeySceneModel.Entry()
| Method Detail |
|---|
public abstract Object getKey()
public abstract void setReference(ConfigReference reference)
public abstract ConfigReference getReference()
public abstract boolean isValid(ConfigManager cfgmgr)
public int getElevation()
Integer.MIN_VALUE for none.
public void getBounds(ConfigManager cfgmgr,
Rect result)
public int getCollisionFlags(ConfigManager cfgmgr)
public abstract String getLogicClassName(ConfigManager cfgmgr)
null for none.
public abstract String[] getTags(ConfigManager cfgmgr)
public abstract HandlerConfig[] getHandlers(ConfigManager cfgmgr)
public boolean isDefaultEntrance(ConfigManager cfgmgr)
public Vector2f getTranslation(ConfigManager cfgmgr)
public float getRotation(ConfigManager cfgmgr)
public ConfigReference<ModelConfig> getModel(ConfigManager cfgmgr)
public Shape createShape(ConfigManager cfgmgr)
null for none.
public Vector2f[] createPatrolPath(Shape shape)
null for none.
public void transform(ConfigManager cfgmgr,
Transform3D xform)
public abstract void getPreloads(ConfigManager cfgmgr,
PreloadableSet preloads)
public SpaceElement createElement(ConfigManager cfgmgr)
null for none).
public EntryCursor createCursor(TudeyContext ctx,
TudeySceneView view)
null for none).
public abstract EntrySprite createSprite(TudeyContext ctx,
TudeySceneView view)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||