public bool IsBiting(string attackerName, string defenderName)
 {
     if (!Bites.ContainsKey(attackerName))
     {
         return(false);
     }
     return(Bites[attackerName].Equals(defenderName));
 }
Exemple #2
0
 public void Add(string name, string text, Texture2D portrait = null, PlateType plate = PlateType.Default)
 {
     Bites.Add(new DialogueBite(name, Fragment.Parse(text), portrait, plate));
 }