示例#1
0
 public Road(String name, Roads creator)
 {
     points       = new List <Vector2>();
     this.creator = creator;
     this.name    = name;
     mask         = creator.Mask;
 }
示例#2
0
        public Roads()
        {
            roads = new List <Road>();

            mask = new SparsePageMask(TerrainManager.Instance.PageSize);

            TerrainManager.Instance.PageVisibility += new PageVisibilityEventHandler(PageVisibilityHandler);
        }
示例#3
0
        public Roads()
        {
            roads = new List<Road>();

            mask = new SparsePageMask(TerrainManager.Instance.PageSize);

            TerrainManager.Instance.PageVisibility += new PageVisibilityEventHandler(PageVisibilityHandler);
        }