private void loadRestartOptions(CCXMLElement theRestartOptionsXML) { if (theRestartOptionsXML == null) return; CCXMLElement myMinFrameRateXML = theRestartOptionsXML.child("minFrameRate"); if (myMinFrameRateXML != null) { addCommandHandler( "-frameRate", new CCWatchDogFrameRateRestart(myMinFrameRateXML.floatContent())); } CCXMLElement myMaxOffTimeXML = theRestartOptionsXML.child("maxOffTime"); if (myMaxOffTimeXML != null) { _myMaxOffTime = myMaxOffTimeXML.intContent(); } }