Esempio n. 1
0
        public void PlayLevel()
        {
            Console.Clear();
            Console.CursorVisible = false;

            Instructions.PrintInstructions(Instructions.standartInstructions); //Instructions
            GameFrameBasics.GameFrame();

            One();
            DisplayDialog.DisplayDialogInDialogBoard(LevelOneDialogs.levelOneDialogOne());

            HeroMovement levelOneHeroMovement = new HeroMovement();
            levelOneHeroMovement.Movement(6, 25, "right", forbiddenCoordsLevelOne, specialCoordsLevelOne,
                objectsCoord, messagesSpecialLevelOne, new List<string> { "skull"});

            GameFrameBasics.MessageBoard("You have advanced to the next level! Press <ENTER> to continue.", ConsoleColor.DarkCyan);

            GameFrameBasics.PressEnter();
        }
        public void PlayLevel()
        {
            Console.Clear();
            Console.CursorVisible = false;

            Instructions.PrintInstructions(Instructions.standartInstructions); //Instructions
            GameFrameBasics.GameFrame();

            LevelStaticObjects();
            BeforeLast();

            // bool levelIsOver = false;

            HeroMovement levelBeforeLast = new HeroMovement();
            levelBeforeLast.Movement(6, 25, "right", forbiddenCoordsLevelBeforeLast, specialCoordsLevelBeforeLast,
                objectsCoord, messagesSpecialLevelBeforeLast, new List<string> { "coin1", "coin2", "coin3" });

            GameFrameBasics.MessageBoard("You have advanced to the next level! Press <ENTER> to continue.", ConsoleColor.DarkCyan);
        }