Exemple #1
0
 public void AddChild(GameNode Child)
 {
     Child.Parent = this;
     Children.Add(Child);
 }
Exemple #2
0
 public WeightedGameNode(Game Game, GameNode Parent = null, double Weight = 1.0, bool TrackChildren = true)
     : base(Game, Parent, TrackChildren)
 {
     this.Weight = Weight;
 }