public bool IsChild(FightSequence sequence, bool recursive = true) { return(m_children.Any(x => x == sequence) || (!recursive || m_children.Any(x => x.IsChild(sequence)))); }
public void AddChildren(FightSequence sequence) { sequence.Parent = this; m_children.Add(sequence); }