/// <summary> /// last call GenerateTaxiPathNode(...) /// </summary> /// <param name="taxiNodeId"></param> /// <param name="mapId"></param> /// <param name="xCoord"></param> /// <param name="yCoord"></param> /// <param name="zCoord"></param> public void RegisterTaxiNode( BaseTaxiNode baseTaxiNode ) { if ( baseTaxiNode == null ) { Debug.WriteLine( "BaseTaxiPathNodeManager.RegisterTaxiNode(...) - baseTaxiNode == null error!" ); return; } m_TaxiNodes.Add( baseTaxiNode.TaxiNodeId, baseTaxiNode ); m_TaxiPathNodes = null; }
/// <summary> /// /// </summary> /// <param name="taxiPathNode"></param> /// <returns></returns> internal static TaxiPathNode CreatInstance( BaseTaxiNode fromTaxiNodeId, Dictionary<long, List<BaseTaxiPath[]>> toTaxiPathNode ) { TaxiPathNode returnTaxiPathNode = new TaxiPathNode(); returnTaxiPathNode.m_FromTaxiNode = fromTaxiNodeId; returnTaxiPathNode.m_TaxiPathNode = toTaxiPathNode; return returnTaxiPathNode; }