public override void Initialize(BroadPhaseEntry entryA, BroadPhaseEntry entryB)
{
//Other member of the pair is initialized by the child.
compoundInfo = entryA as CompoundCollidable;
if (compoundInfo == null)
{
compoundInfo = entryB as CompoundCollidable;
if (compoundInfo == null)
{
throw new Exception("Inappropriate types used to initialize pair.");
}
}
base.Initialize(entryA, entryB);
}