public void CreateObjects() { diningRoom = new Room("Dining Room", "a crystal chandelier"); stairs = new Room("Stairs", "a wooden bannister"); garden = new OutsideWithHidingPlace("Garden", false, "the shed"); driveway = new OutsideWithHidingPlace("Driveway", false, "the garage"); frontYard = new OutsideWithDoor("Front Yard", false, "an oak door with a brass knob"); backYard = new OutsideWithDoor("Back Yard", true, "a screen door"); upstairsHallway = new RoomWithHidingPlace("Upstairs Hallway", "a picture of a dog", "in the closet"); masterBedroom = new RoomWithHidingPlace("Master Bedroom", "a large bed", "under the bed"); secondBedroom = new RoomWithHidingPlace("Second Bedroom", "a small bed", "under the bed"); bathroom = new RoomWithHidingPlace("Bathroom", "a sink and a toilet", "in the shower"); livingRoom = new RoomWithDoor("Living Room", "an antique carpet", "in the closet", "an oak door with a brass knob"); kitchen = new RoomWithDoor("Kitchen", "stainless steel appliances", "the cabinet", "a screen door that leads to the back yard"); diningRoom.Exits = new Location[] { livingRoom, kitchen }; stairs.Exits = new Location[] { livingRoom, upstairsHallway }; garden.Exits = new Location[] { frontYard, backYard }; driveway.Exits = new Location[] { frontYard, backYard }; frontYard.Exits = new Location[] { livingRoom, garden, driveway }; backYard.Exits = new Location[] { kitchen, garden, driveway }; upstairsHallway.Exits = new Location[] { stairs, masterBedroom, secondBedroom, bathroom }; masterBedroom.Exits = new Location[] { upstairsHallway }; secondBedroom.Exits = new Location[] { upstairsHallway }; bathroom.Exits = new Location[] { upstairsHallway }; livingRoom.Exits = new Location[] { diningRoom, frontYard, stairs }; kitchen.Exits = new Location[] { diningRoom, backYard }; livingRoom.DoorLocation = frontYard; frontYard.DoorLocation = livingRoom; kitchen.DoorLocation = backYard; backYard.DoorLocation = kitchen; opponent = new Opponent(frontYard); }