public void Overhead(MiMFa_Dynasty grandParent) { MiMFa_Dynasty dyn = this; while (dyn.Parent != null) { dyn = dyn.Parent; } dyn.Parent = grandParent; }
public static bool IsGrandParent(MiMFa_Dynasty inThisParent, double thisDynastyID) { MiMFa_Dynasty dyn = inThisParent; while (dyn != null) { if (dyn.ID == thisDynastyID) { return(true); } else { dyn = dyn.Parent; } } return(false); }
public static bool IsGrandParent(MiMFa_Dynasty inThisParent, MiMFa_Dynasty thisDynasty) { return(IsGrandParent(inThisParent, thisDynasty.ID)); }
public bool IsGrandParent(MiMFa_Dynasty dynasty) { return(IsGrandParent(dynasty.ID)); }
public void Append(MiMFa_Dynasty grandChildren) { this.Childs.Add(grandChildren); }