Beispiel #1
0
        private void DrawInventory(AbstractPlayer player, int row)
        {
            ClearRow(row);
            var inventory = player.GetInventory();

            Console.SetCursorPosition(0, row);
            Console.Write("Inventory: ");
            foreach (var item in inventory)
            {
                Console.Write(item.GetStringType() + " ");
            }

            Console.Write("   ");
        }