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

public interface IAnnotatedComponentCollection extends IAnnotatedComponent
An interface representing an IAnnotatedComponent that aggregates other components such as an Instruction Created on 03/10/2018
  • Method Details

    • componentCount

      int componentCount()
      Returns the number of components aggregated
      Returns:
      the number of components aggregated
    • getComponent

      @Nullable IAnnotatedComponent getComponent(int index)
      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