Exemple #1
0
 public Troll(ListBox listBox, String name)
     : base(listBox, name)
 {
     this.Name = name;
     this.ListBox = listBox;
     //weapon = new Bow() -- this is to the exact specifications of the practical.
     //I thought added a new weapon class specifically for the default troll would be a good idea.
     weapon = new Club();
 }
Exemple #2
0
 public Troll(string name) : base(name)
 {
     weapon  = new Club();
     declaim = "Trolls don't have time to talk.";
 }
 public Troll(string name)
     : base(name)
 {
     weapon = new Club();
     declaim = "Trolls don't have time to talk.";
 }