void Player(SqlRpgInventory rpgInventory)
        {
            ConsoleKeyInfo keyInfo;

            do
            {
                keyInfo = rpgInventory.PlayerSelectMenu();
                if (int.TryParse(keyInfo.KeyChar.ToString(), out int num))
                {
                    rpgInventory.PlayersMenu(num);
                }
            } while (keyInfo.Key != ConsoleKey.Escape);
        }
 static void Admin(SqlRpgInventory rpgInventory)
 {
     rpgInventory.AdminMenu();
 }
예제 #3
0
        static void Main(string[] args)
        {
            SqlRpgInventory rpgInventory = new SqlRpgInventory();

            rpgInventory.MainMenu();
        }