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