Ejemplo n.º 1
0
        protected void Application_Start()
        {
            AreaRegistration.RegisterAllAreas();
            GlobalConfiguration.Configure(WebApiConfig.Register);
            FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
            RouteConfig.RegisterRoutes(RouteTable.Routes);
            BundleConfig.RegisterBundles(BundleTable.Bundles);

            MyApp.init();
            Bango.App.RegisterType.Register();
        }
Ejemplo n.º 2
0
 static void Main(string[] args)
 {
     using (MyApp myApp = new MyApp())
     {
         /// I got tired of looking at the tiny terminal.png font, so I'm going to start
         /// using something a little easier on the eyes.  Of course, we need to make sure that
         /// "courier12x12_aa_tc.png" is in our binary folder or the application will fail on start.
         myApp.Start(new ApplicationInfo()
         {
             Title      = "Test",
             ScreenSize = new Size(40, 40),
             Font       = "courier12x12_aa_tc.png",
             FontFlags  = libtcod.TCODFontFlags.LayoutTCOD,
         });
     }
 }
Ejemplo n.º 3
0
        static void Main(string[] args)
        {
            using (MyApp myApp = new MyApp())
            {
                /// I got tired of looking at the tiny terminal.png font, so I'm going to start
                /// using something a little easier on the eyes.  Of course, we need to make sure that
                /// "courier12x12_aa_tc.png" is in our binary folder or the application will fail on start.
                myApp.Start(new ApplicationInfo()
                {
                    Title = "Test",
                    ScreenSize = new Size(40, 40),
                    Font = "courier12x12_aa_tc.png",
                    FontFlags = libtcod.TCODFontFlags.LayoutTCOD,

                });
            }
        }