code: public boolean changePattern (FormationPattern<T> pattern) {
  		// Find out how many slots we have occupied
  		int occupiedSlots = slotAssignments.size;
  
  		// Check if the pattern supports one more slot
  		if (pattern.supportsSlots(occupiedSlots)) {
  			setPattern(pattern);
  
  			// Update the slot assignments and return success
  			updateSlotAssignments();
  
  			return true;
  		}
  
  		return false;
  	}
docs: Changes the pattern of this formation and updates slot assignments if the number of member is supported by the given
  pattern.
  @param pattern the pattern to set
  @return {@code true} if the pattern has effectively changed; {@code false} otherwise.