Esempio n. 1
0
        static void AddNewGame()
        {
            GameCreator NewGame = new GameCreator();

            NewGame.CreateGame();
            games.Add(NewGame);
        }
Esempio n. 2
0
        static void PopulateGameData()
        {
            var FirstGame = new Game();

            Console.WriteLine("Please enter your earlist SR figure:");
            FirstGame.SR = int.Parse(Console.ReadLine());
            games.Add(FirstGame);
            ConsoleKey exitCheck;

            do
            {
                GameCreator NextGame = new GameCreator();
                NextGame.CreateGame();
                games.Add(NextGame);

                Console.WriteLine("Press X to exit, or any key to add a new game detail");
                exitCheck = Console.ReadKey().Key;
            } while (exitCheck != ConsoleKey.X);
        }