private static void InitGame(TextGame textGame)
        {
            Room startingRoom = new Room("start", "You are in a dark room, you can see nothing.");

            textGame.AddRoom(startingRoom);
            textGame.SetStartRoom("start");
        }
        static void Main()
        {
            TextGame textGame = new TextGame();

            InitGame(textGame);
            textGame.Play();
        }
Beispiel #3
0
 private static void InitGame(TextGame textGame)
 {
     Room startingRoom = new Room("start", "You are in a dark room, you can see nothing.");
     textGame.AddRoom(startingRoom);
     textGame.SetStartRoom("start");
 }
Beispiel #4
0
 static void Main()
 {
     TextGame textGame = new TextGame();
     InitGame(textGame);
     textGame.Play();
 }