Contents
Interface IAnnotatedComponentCollection
- All Superinterfaces:
IAnnotatedComponent
- All Known Implementing Classes:
ActionAdjustPosition, ActionForEach, ActionProjectToGround, ActionSequence, ActionTimeout, ActionTransformBase, BodyMotionSequence, EntityFilterAnd, EntityFilterMany, EntityFilterNot, EntityFilterOr, HeadMotionSequence, Instruction, InstructionRandomized, MotionSequence, Role, SensorAdjustPosition, SensorAnd, SensorBlockType, SensorEntity, SensorEntityBase, SensorMany, SensorNot, SensorOr, SensorPlayer, SensorProjectToGround, SensorSelf, SensorTarget, SensorTransformBase, SensorValueProviderWrapper, SensorWithEntityFilters
An interface representing an
IAnnotatedComponent that aggregates other components such as an Instruction
Created on 03/10/2018-
Method Summary
Modifier and TypeMethodDescriptionintReturns the number of components aggregatedgetComponent(int index) Returns the annotated component at the given index, or null if the component at said index is not annotatedMethods inherited from interface IAnnotatedComponent
getBreadCrumbs, getBreadCrumbs, getIndex, getInfo, getLabel, getParent, setContext
-
Method Details
-
componentCount
int componentCount()Returns the number of components aggregated- Returns:
- the number of components aggregated
-
getComponent
Returns the annotated component at the given index, or null if the component at said index is not annotated- Parameters:
index- the index to fetch- Returns:
- the annotated component, or null if the component at the index is not annotated
-