public void addroom(Room r_name) { if (r_name != null) { other_places.Add(r_name); } }
public void Search(int room) { currentRoom = currentLocation.Rooms[room]; currentRoom.Search(); this.Interact(); }
public Form1() { InitializeComponent(); Faraday = new Npc("Faraday", "Fairy Machinist", "Elf", "Female", "Faraday is a fairy with a lot of energy", 2, 2, 8, 7, 7, 8, 4, 8, 4, 4); testroom = new Room("Test Room", "A void white space for testing purposes.", "safe"); otherroom = new Room("Other Room", "A second room to test moving", "safe"); testroom.addperson(Faraday); Faraday.populate_dialogue(); }