public override void Initialize(BroadPhaseEntry entryA, BroadPhaseEntry entryB)
{
compound = entryA as CompoundCollidable;
if (compound == null)
{
compound = entryB as CompoundCollidable;
if (compound == null)
{
throw new Exception("Inappropriate types used to initialize pair.");
}
}
base.Initialize(entryA, entryB);
}