/** Remove a sub behaviour from this <code>SequentialBehaviour</code> */
 public void removeSubBehaviour(Behaviour b) {
   boolean rc = subBehaviours.remove(b);
   if (rc) {
     b.setParent(null);
   } else {
     // The specified behaviour was not found. Do nothing
   }
 }
 // #APIDOC_EXCLUDE_BEGIN
 protected void registerAsChild(Behaviour b) {
   b.setParent(this);
 }
 /** Add a sub behaviour to this <code>SequentialBehaviour</code> */
 public void addSubBehaviour(Behaviour b) {
   subBehaviours.add(b);
   b.setParent(this);
   b.setAgent(myAgent);
 }