//------------------------------------------------------------------------------ // FROM HERE DOWN NOT PART OF API (IMPLEMENTATION) //------------------------------------------------------------------------------ public static void Initialize() { Console.Write("Searches: Initializing..."); try { m_OctantSearch = new OctantSearch(24); m_CircleSearch = new CircleSearch(24); m_SpiralSearch = new SpiralSearch( ); m_LineSearch = new LineSearch(); } catch (Exception e) { Console.WriteLine("failed!"); Console.WriteLine(e); } Console.WriteLine("done"); }
//------------------------------------------------------------------------------ // FROM HERE DOWN NOT PART OF API (IMPLEMENTATION) //------------------------------------------------------------------------------ public static void Initialize() { Console.WriteLine("Searches: Initializing...."); try { m_OctantSearch = new OctantSearch(24); m_CircleSearch = new CircleSearch(24); m_SpiralSearch = new SpiralSearch( ); m_LineSearch = new LineSearch(); } catch (Exception e) { Console.WriteLine("Searches: ***INITIALIZATION FAILED!!!***"); Console.WriteLine(e); Console.WriteLine("##### FATAL ERROR ##### STOPPING SERVER #####"); //throw; } }
//------------------------------------------------------------------------------ // FROM HERE DOWN NOT PART OF API (IMPLEMENTATION) //------------------------------------------------------------------------------ public static void Initialize() { Console.Write("Searches: Initializing..."); try { m_OctantSearch = new OctantSearch( 24 ); m_CircleSearch = new CircleSearch( 24 ); m_SpiralSearch = new SpiralSearch( ); m_LineSearch = new LineSearch(); } catch( Exception e ) { Console.WriteLine( "failed!" ); Console.WriteLine( e ); } Console.WriteLine( "done" ); }
//------------------------------------------------------------------------------ // FROM HERE DOWN NOT PART OF API (IMPLEMENTATION) //------------------------------------------------------------------------------ public static void Initialize() { Console.WriteLine("Searches: Initializing...."); try { m_OctantSearch = new OctantSearch( 24 ); m_CircleSearch = new CircleSearch( 24 ); m_SpiralSearch = new SpiralSearch( ); m_LineSearch = new LineSearch(); } catch( Exception e ) { Console.WriteLine("Searches: ***INITIALIZATION FAILED!!!***"); Console.WriteLine( e ); Console.WriteLine("##### FATAL ERROR ##### STOPPING SERVER #####"); //throw; } }