Beispiel #1
0
 /// <summary>
 /// Set the master for this monster thus making it
 /// a summoned/convinced creature. To make this monster wild (again),
 /// send null as the argument.
 /// </summary>
 /// <param name="creature">Creature to set as the master.</param>
 public void SetMaster(Creature creature)
 {
     if (creature != null)
     {
         creature.AddSummon(this);
     }
     Master = creature;
 }
Beispiel #2
0
 /// <summary>
 /// Set the master for this monster thus making it
 /// a summoned/convinced creature. To make this monster wild (again),
 /// send null as the argument.
 /// </summary>
 /// <param name="creature">Creature to set as the master.</param>
 public void SetMaster(Creature creature)
 {
     if (creature != null) {
         creature.AddSummon(this);
     }
     Master = creature;
 }