public void Go(string direction) { Console.Clear(); Room nextRoom = CurrentRoom.Advance(direction); if (!CurrentRoom.Exits.ContainsKey(direction)) { Console.WriteLine("Thats not a vaild direction"); Console.ReadLine(); return; } else if (nextRoom.Name == "Dungeon") { EnterDungeon(); } else if (nextRoom.Name == "Foyer") { EnterFoyer(); } CurrentRoom = nextRoom; }