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