Example #1
0
 public string talk(Npc buddy)
 {
     if (buddy != null)
         return buddy.grabDialogue("talk");
     else
         return "No one is here.\n";
 }
Example #2
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();
 }