コード例 #1
0
        public Recollection Know(object reference, object information, float strength)
        {
            Recollection recollection = new Recollection()
            {
                strength = strength, information = information, reference = reference
            };

            toRemember.Add(recollection);
            return(recollection);
        }
コード例 #2
0
 void Remember(Recollection recollection)
 {
     recollections.Add(recollection);
 }
コード例 #3
0
 public void Forget(Recollection recollection)
 {
     recollections.Remove(recollection);
 }