Exemplo n.º 1
0
 public void addroom(Room r_name)
 {
     if (r_name != null)
     {
         other_places.Add(r_name);
     }
 }
Exemplo n.º 2
0
        public void Search(int room)
        {
            currentRoom = currentLocation.Rooms[room];

            currentRoom.Search();

            this.Interact();
        }
Exemplo n.º 3
0
 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();
 }