Example #1
0
 /// <summary>
 /// Add new DeliveryObjective
 /// </summary>
 public void Add(DeliveryObjective d)
 {
     if (d.ExistsInWorld)
     {
         if (CanAdd)
         {
             _items.Add(d);
         }
     }
     else
     {
         BadIdList.AddItemId(d.Id);
     }
 }
Example #2
0
        /// <summary>
        /// Add new Reward [Item]
        /// </summary>
        public void Add(Reward r)
        {
            if (r.ExistsInWorld)
            {
                if (CanAdd)
                {
                    _items.Add(r);
                }
            }

            else
            {
                BadIdList.AddItemId(r.Id);
            }
        }