Beispiel #1
0
        static void Main( string[] args )
        {
            Trace.Listeners.Add( new ColoredTraceListener() );

            using ( var game = new SpriteDemo() ) {
                if (DevCon.Prepare(game, @"..\..\..\Content\Content.xml", "Content")) {
                    game.Run(args);
                }
            }
        }
Beispiel #2
0
        static void Main(string[] args)
        {
            Trace.Listeners.Add(new ColoredTraceListener());

            using (var game = new SpriteDemo()) {
                if (DevCon.Prepare(game, @"..\..\..\Content\Content.xml", "Content"))
                {
                    game.Run(args);
                }
            }
        }
Beispiel #3
0
		static void Main ( string[] args )
		{
			Trace.Listeners.Add( new ColoredTraceListener() );

			Fusion.Core.Test.Tester.Run();

			try {
				Builder.Build( @"..\..\..\Content", @"Content", @"..\..\..\Temp", false );
			} catch ( Exception e ) {
				Log.Error( e.Message );
				return;
			}

			using ( var game = new SpriteDemo() ) {
				game.Run(args);
			}
		}