Beispiel #1
0
        public override void update()
        {
            checkControl();
            accelerateGame();

            player.update();

            foreach (GameWorldRegion e in onscreen)
            {
                e.move();
            }

            foreach (GameWorldRegion e in upcoming)
            {
                e.move();
            }

            updateSequence();

            hero.update();
            eManager.update();
            laser.update();

            foreach (GameWorldRegion e in onscreen)
            {
                e.update();
            }

            infoPanel.update();
        }