示例#1
0
        public void LogicUpdate()
        {
            //Logo.Translate(new RenderLocation(1, 0));
            //Logo.Location = new RenderLocation(Console.WindowWidth / 2 - 30, 5);

            if (KeyboardHandler.GetKeyPress(ConsoleKey.F))
            {
                //player1.HighlightCard(player1.CardsInHand[0]);
                player1.GoThroughHand();
                UpdateHandler.Redraw();
            }

            if (KeyboardHandler.GetKeyPress(ConsoleKey.G))
            {
                player1.UnhighlightCard(player1.HighlightedCard);
                UpdateHandler.Redraw();
            }

            if (KeyboardHandler.GetKeyPress(ConsoleKey.Spacebar))
            {
                UpdateHandler.Redraw();
            }
        }