示例#1
0
        /// <summary>Creates a new object that is a copy of the current instance, with the same EntityId.</summary>
        /// <returns>A new object that is a copy of this instance.</returns>
        public override object Clone()
        {
            var clone = new Belief();

            CopyEntityTo(clone);
            return(clone);
        }
示例#2
0
 private void AddAssociatedBelief()
 {
     if (_models.Beliefs.On && AssociatedBelief == null)
     {
         AssociatedBelief = new Belief(MetaNetwork, this, Length, _models.Generator, _models.BeliefWeightLevel);
     }
 }