コード例 #1
0
 public void BeBorn(HumanAI father, HumanAI mother)
 {
     //gameObject.transform.position = Vector3.Slerp(father.gameObject.transform.position,
     //    mother.gameObject.transform.position,
     //    0.5F);
     XCS = new Behaviour(possibleActions, father.XCS, mother.XCS, stateSize);
 }
コード例 #2
0
 public void Visit(HumanAI visitor)
 {
     visitors.Add(visitor);
 }
コード例 #3
0
 public void Leave(HumanAI visitor)
 {
     visitors.Remove(visitor);
 }