Run() public method

public Run ( ) : void
return void
Ejemplo n.º 1
0
 private static void Main( string[] args )
 {
     try
     {
         using ( Game main = new Game() )
         {
             main.Run();//show and start rendering
         }//dispose of it when done
     }
     catch ( Exception ex )
     {
         Console.WriteLine( BuildExceptionString( ex ) );
         Console.WriteLine( "An exception has occurred.  Press enter to continue..." );
         Console.ReadLine();
     }
 }