|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ComponentRepository
Makes available a collection of character components and associated metadata. Character components are animated sequences that can be composited together to create a complete character visualization (imagine interchanging pairs of boots, torsos, hats, etc.).
| Method Summary | |
|---|---|
Iterator<ActionSequence> |
enumerateActionSequences()
Iterates over the ActionSequence instances representing every available action
sequence. |
Iterator<ComponentClass> |
enumerateComponentClasses()
Iterates over the ComponentClass instances representing all available character
component classes. |
Iterator<Integer> |
enumerateComponentIds(ComponentClass compClass)
Iterates over the component ids of all components in the specified class. |
CharacterComponent |
getComponent(int componentId)
Returns the CharacterComponent object for the given component identifier. |
CharacterComponent |
getComponent(String className,
String compName)
Returns the CharacterComponent object with the given component class and name. |
ComponentClass |
getComponentClass(String className)
Returns the ComponentClass with the specified name or null if none exists with that
name. |
| Method Detail |
|---|
CharacterComponent getComponent(int componentId)
throws NoSuchComponentException
CharacterComponent object for the given component identifier.
NoSuchComponentException
CharacterComponent getComponent(String className,
String compName)
throws NoSuchComponentException
CharacterComponent object with the given component class and name.
NoSuchComponentExceptionComponentClass getComponentClass(String className)
ComponentClass with the specified name or null if none exists with that
name.
Iterator<ComponentClass> enumerateComponentClasses()
ComponentClass instances representing all available character
component classes.
Iterator<ActionSequence> enumerateActionSequences()
ActionSequence instances representing every available action
sequence.
Iterator<Integer> enumerateComponentIds(ComponentClass compClass)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||