Exemplo n.º 1
0
        static void Main( string[] args )
        {
            Trace.Listeners.Add( new ColoredTraceListener() );

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

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

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

			using (var game = new ParticleDemo2()) {
				//if (DevCon.Prepare( game, @"..\..\..\Content\Content.xml", "Content" )) {
					game.Run( args );
				//}
			}
		}