public static void Main(string[] args)
        {
            RockBlasterGame rockBlaster = new RockBlasterGame(800, 600);

            rockBlaster.Title = "Rock Blaster";
            rockBlaster.ShowAsSystemWindow();
        }
Exemple #2
0
        public static void StartDemo()
        {
            RockBlasterGame <T> app = new RockBlasterGame <T>(PixelFormats.pix_format_rgba32, ERenderOrigin.OriginBottomLeft);

            app.Caption = "Rock blaster is a game a lot like Asteroids.";

#if USE_OPENGL
            if (app.init(640, 480, (uint)WindowFlags.UseOpenGL))
#else
            if (app.init(640, 480, (uint)(WindowFlags.None)))
#endif
            {
                app.run();
            }
        }
		public static void Main(string[] args)
		{
			RockBlasterGame rockBlaster = new RockBlasterGame(800, 600);

			rockBlaster.Title = "Rock Blaster";
			rockBlaster.ShowAsSystemWindow();
		}
Exemple #4
0
 public static void Main(string[] args)
 {
     RockBlasterGame <DoubleComponent> .StartDemo();
 }