Beispiel #1
0
        public static void AllegroMain()
        {
            InitializeAllegro();

            BigBang = new BigBang();
            var game = CreateGame();
            var display = CreateDisplay();
            var input = CreateInput();

            while (game.Running)
            {
                input.Apply(game);
                //game.Update(10);
                display.Render(game);
            }
        }
Beispiel #2
0
        public static void AllegroMain()
        {
            InitializeAllegro();

            BigBang = new BigBang();
            var game = CreateGame();
            var display = CreateDisplay();
            var input = CreateInput();

            while (game.Running)
            {
                input.Apply(game);
                //game.Update(10);
                display.Render(game);
            }
        }