public Initialize ( |
||
entryA | First entry in the pair. | |
entryB | Second entry in the pair. | |
return | void |
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);
}