Ejemplo n.º 1
0
        private void CreateChildNodes()
        {
            _childNodes[Ring1NodePositionEnum.DOWN_LEFT] = new Ring1Node(
                _nodeSplitController,
                _nodeListener,
                _visibilityResolver,
                _ring1Position.DownLeftSubElement(),
                _quadLodLevel + 1,
                Ring1NodePositionEnum.DOWN_LEFT);


            _childNodes[Ring1NodePositionEnum.DOWN_RIGHT] = new Ring1Node(
                _nodeSplitController,
                _nodeListener,
                _visibilityResolver,
                _ring1Position.DownRightSubElement(),
                _quadLodLevel + 1,
                Ring1NodePositionEnum.DOWN_RIGHT);

            _childNodes[Ring1NodePositionEnum.TOP_LEFT] = new Ring1Node(
                _nodeSplitController,
                _nodeListener,
                _visibilityResolver,
                _ring1Position.TopLeftSubElement(),
                _quadLodLevel + 1,
                Ring1NodePositionEnum.TOP_LEFT);

            _childNodes[Ring1NodePositionEnum.TOP_RIGHT] = new Ring1Node(
                _nodeSplitController,
                _nodeListener,
                _visibilityResolver,
                _ring1Position.TopRightSubElement(),
                _quadLodLevel + 1,
                Ring1NodePositionEnum.TOP_RIGHT);
        }