示例#1
0
        static void Main()
        {
            Initialization();

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

                KeybordCommand.DistrubuteCommand();

                Step.Invoke();
            }
        }
示例#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();
            }
        }