Beispiel #1
0
        static void Main()
        {
            Initialization();

            while (true)
            {
                ViewOnConsole.View(gameState);

                KeybordCommand.DistrubuteCommand();

                Step.Invoke();
            }
        }
Beispiel #2
0
        static void Main()
        {
            Initialization();

            while (true)
            {
                ClearMap();
                FillMap();
                ViewOnConsole.ViewGame();

                KeybordCommand.DistributeCommand(Console.ReadKey().Key);

                //GameReaction();
                Step.Invoke();

                //TODO: переделать
                DungeonRoom.currentDungeonRoom.roomNextSteep.Invoke();
            }
        }