public interface ComponentRepository
| Modifier and Type | Method and Description |
|---|---|
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. |
CharacterComponent getComponent(int componentId) throws NoSuchComponentException
CharacterComponent object for the given component identifier.NoSuchComponentExceptionCharacterComponent 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)
Copyright © 2015. All rights reserved.