| Package | Description |
|---|---|
| com.threerings.cast | |
| com.threerings.cast.util |
| Modifier and Type | Method and Description |
|---|---|
void |
ActionCache.cacheActionFrames(CharacterDescriptor descrip,
String action,
ActionFrames frames)
Requests that the specified set of action frames for the specified character be cached.
|
ActionFrames |
CharacterManager.getActionFrames(CharacterDescriptor descrip,
String action)
Obtains the composited animation frames for the specified action for a
character with the specified descriptor.
|
ActionFrames |
ActionCache.getActionFrames(CharacterDescriptor descrip,
String action)
Fetches from the cache a composited set of images for a particular character for a
particular action.
|
CharacterSprite |
CharacterManager.getCharacter(CharacterDescriptor desc)
Returns a
CharacterSprite representing the character
described by the given CharacterDescriptor, or
null if an error occurs. |
<T extends CharacterSprite> |
CharacterManager.getCharacter(CharacterDescriptor desc,
Class<T> charClass)
Returns a
CharacterSprite representing the character
described by the given CharacterDescriptor, or
null if an error occurs. |
void |
CharacterSprite.init(CharacterDescriptor descrip,
CharacterManager charmgr)
Initializes this character sprite with the specified character descriptor and character
manager.
|
void |
CharacterManager.resolveActionSequence(CharacterDescriptor desc,
String action)
Informs the character manager that the action sequence for the
given character descriptor is likely to be needed in the near
future and so any efforts that can be made to load it into the
action sequence cache in advance should be undertaken.
|
void |
CharacterSprite.setCharacterDescriptor(CharacterDescriptor descrip)
Reconfigures this sprite to use the specified character descriptor.
|
| Modifier and Type | Method and Description |
|---|---|
static CharacterDescriptor |
CastUtil.getRandomDescriptor(ComponentRepository crepo,
String gender,
String[] COMP_CLASSES,
ColorPository cpos,
String[] COLOR_CLASSES)
Returns a new character descriptor populated with a random set of components.
|
Copyright © 2015. All rights reserved.