public void CreateObjects() { OutsideWithDoor backYard = new OutsideWithDoor("Back Yard", true); //, "a screen door" Outside garden = new Outside("Garden", false); OutsideWithDoor frontYard = new OutsideWithDoor("Front Yard", false); RoomWithDoor livingRoom = new RoomWithDoor("Living Room", "an antique carpet", "an oak door with a brass knob"); Room diningRoom = new Room("Dining Room", "a crystal chandelier"); RoomWithDoor kitchen = new RoomWithDoor("Kitchen", "stainless steel appliances", "a screen door"); backYard.Exits = new Location[] { kitchen, garden }; garden.Exits = new Location[] { backYard, frontYard }; frontYard.Exits = new Location[] { garden, livingRoom }; livingRoom.Exits = new Location[] { frontYard, diningRoom }; livingRoom.DoorLocation = frontYard; frontYard.DoorLocation = livingRoom; diningRoom.Exits = new Location[] { livingRoom, kitchen }; kitchen.Exits = new Location[] { diningRoom, backYard }; kitchen.DoorLocation = backYard; backYard.DoorLocation = kitchen; MoveToANewLocation(backYard); }