Example #1
0
 public void Pad(RollEntry lastEntry = null)
 {
     if (lastEntry == null)
     {
         rollUnder = chance;
     }
     else
     {
         rollUnder = lastEntry.rollUnder + chance;
     }
 }
Example #2
0
        public void RemoveEntry(RollEntry entry)
        {
            if (entry == null)
            {
                Debug.Log("Cant Remove NULL RollEntry");
            }

            List <RollEntry> removeList = new List <RollEntry>()
            {
                entry
            };

            _TableModel.RemoveElements(removeList);
        }
Example #3
0
 bool NotRecentlyZapped(RollEntry entry)
 {
     return(entry.GetContainedClass <Health>().RecentlyDamaged);
 }
Example #4
0
 public int IndexOfItem(RollEntry re)
 {
     return(_TableModel.IndexOfItem(re));
 }