Esempio n. 1
0
 public virtual void Initalize()
 {
     ID = Globals.GenerateID();
     Intention = new ActorIntention(this);
     Intention.Initalize();
     Globals.Actors.Add(this);
     if (Body != null) Body.BodyProxy.Initalize();
     if (Locomotion != null) Locomotion.Initalize();
     if (SensoryPerception != null) SensoryPerception.Initalize();
 }
Esempio n. 2
0
 public Behavior(ActorIntention Parent)
 {
     this.Parent = Parent;
     this.ParentActor = Parent.Parent;
     this.ActionQueue = new List<ActionTransition>();
 }