public void Start()
{
try
{
if ( Setup() )
{
// start the engines rendering loop
engine.StartRendering();
}
}
catch ( Exception ex )
{
// try logging the error here first, before Root is disposed of
if ( LogManager.Instance != null )
{
LogManager.Instance.Write( LogManager.BuildExceptionString( ex ) );
}
}
}