Пример #1
0
        /*
         * public bool AddEquipment(IEquipable equipable)
         * {
         *  if (equipable.Exclusive)
         *  {
         *      foreach (IEquipable equipment in Equipables)
         *      {
         *
         *      }
         *  }
         *
         *  if (equipable.RequiresManip && Manip != null)
         *  {
         *      Equipables.Add(equipable);
         *      return true;
         *  }
         *
         *  return false;
         * }
         */


        // TODO FIX THIS
        public bool AddManipulator(Manipulator inMan)
        {
            if (Manip == null)
            {
                Manip = inMan;
            }
            return(true);
        }
Пример #2
0
 public BodyPart(String name, double weight, int conLevel, Manipulator inMan = null)
 {
     Name               = name;
     Weight             = weight;
     ControversialLevel = conLevel;
     Manip              = inMan;
     Equipables         = new List <IEquipable>();
 }