Exemplo n.º 1
0
        /// <summary>
        /// Update the end points
        /// </summary>
        /// <param name="roadBuilderObject">The base object</param>
        public void UpdateEndPoints(IRoadBuildData roadBuilderObject)
        {
            List <Guid>         list = IntersectionManager.Instance[_connectionSet];
            MeshBuilderFiveRoad jb   = new MeshBuilderFiveRoad(
                roadBuilderObject,
                list,
                _roadNetworkNode,
                _materialName);

            jb.UpdateEndPoints();
        }
Exemplo n.º 2
0
        /// <summary>
        /// Modifiy the terrain
        /// </summary>
        /// <param name="roadBuilderObject">The road object</param>
        /// <param name="tm">The terrain modifier</param>
        public void ModifyTerrain(IRoadBuildData roadBuilderObject, TerrainModifier tm)
        {
            List <Guid> list = IntersectionManager.Instance[_connectionSet];

            MeshBuilderFiveRoad jb = new MeshBuilderFiveRoad(
                roadBuilderObject,
                list,
                _roadNetworkNode,
                _materialName);

            jb.ApplyTerrain(tm);
        }