boolean function ( FormationPattern < T > arg0 ) { int loc0 = slotAssignments . size ; if ( arg0 . supportsSlots ( loc0 ) ) { setPattern ( arg0 ) ; updateSlotAssignments ( ) ; return true ; } return false ; }
changes the pattern of this formation and updates slot assignments if the number of member is supported by the given pattern . concode_field_sep FormationMotionModerator<T> motionModerator concode_elem_sep SlotAssignmentStrategy<T> slotAssignmentStrategy concode_elem_sep Matrix3 orientationMatrix concode_elem_sep Array<SlotAssignment<T>> slotAssignments concode_elem_sep Location<T> anchor concode_elem_sep FormationPattern<T> pattern concode_elem_sep T positionOffset concode_elem_sep Location<T> driftOffset concode_field_sep boolean addMember concode_elem_sep void setAnchorPoint concode_elem_sep void updateSlots concode_elem_sep int getSlotAssignmentCount concode_elem_sep void setSlotAssignmentStrategy concode_elem_sep Location<T> getAnchorPoint concode_elem_sep void removeMember concode_elem_sep int findMemberSlot concode_elem_sep FormationMotionModerator<T> getMotionModerator concode_elem_sep void setPattern concode_elem_sep void setMotionModerator concode_elem_sep FormationPattern<T> getPattern concode_elem_sep SlotAssignmentStrategy<T> getSlotAssignmentStrategy concode_elem_sep void updateSlotAssignments concode_elem_sep SlotAssignment<T> getSlotAssignmentAt