Ejemplo n.º 1
0
 public void AttemptToChangeRooms(string directionNoun)
 {
     if (exitDictionary.ContainsKey(directionNoun))
     {
         currentRoom = exitDictionary[directionNoun];
         controller.LogStringWithReturn("You changed" + directionNoun);
         controller.DisplayRoomText();
     }
     else
     {
         controller.LogStringWithReturn("oh well" + directionNoun + "looks weird answer to me,are you sure about that?");
     }
 }