public bool addChildProcedure(SceneProcedure child) { if (child == null) { return(false); } if (mChildProcedureList.ContainsKey(child.getProcedureType())) { return(false); } child.setParent(this); mChildProcedureList.Add(child.getProcedureType(), child); return(true); }