Exemple #1
0
 // Use this for initialization
 public void Start()
 {
     gameIO = new GameOutput(output);
     game   = new Game(gameIO);
     gameIO.clear();
     game.start();
     inputField.ActivateInputField();
 }
 public void fastTravel(string room)
 {
     for (int i = 0; i < haveBeen.Count; i++)
     {
         Room   room1  = haveBeen [i];
         string elName = room1.nameOf;
         if (room == elName)
         {
             _io.clear();
             currentRoom = room1;
             this.outputMessage(txtReader(currentRoom.tag) + "\n" + this._currentRoom.description());
             thisNpc = null;
         }
     }
 }