public void CreateTeleporter( Point3D pointLocation, Point3D pointDestination, Map mapLocation, Map mapDestination, bool back )
{
if ( !FindTeleporter( mapLocation, pointLocation ) )
{
m_Count++;
Teleporter tel = new Teleporter( pointDestination, mapDestination );
tel.MoveToWorld( pointLocation, mapLocation );
}
if ( back && !FindTeleporter( mapDestination, pointDestination ) )
{
m_Count++;
Teleporter telBack = new Teleporter( pointLocation, mapLocation );
telBack.MoveToWorld( pointDestination, mapDestination );
}
}