Detect relatives?
<p>i'm working on a virtual village project that is like this. there are 50 men and 50 woman they age and randomly marry with someone, they have kids and when they reach 80 they start to die.
i have a abstract c# class called human:</p>

<pre><code>abstract class Human
{
    enum GenderType { Male, Female };

    int Age;
    bool Alive;
    string Name;
    GenderType Gender;

    Human Father;
    Human Mother;
    Human Partner;
    Human[] Children;

    public abstract bool Check(ref List&lt;Human&gt; People, int Index);
}
</code></pre>

<p>and two child from Human class called Man and Woman. My question is how can i override Check method in Man/Woman class to be able to detect female/male relatives that is illegal to marry with. for example Mother, sisters, aunts, sisters in law, mothers in law and so on.</p>
