asmrobot
2019-11-25 2aeab450471cb80b59002da7da80faf251a0c4f4
src/RichCreator.Utility/Maps/HouseInfo.cs
@@ -22,11 +22,12 @@
            InitPathInfo(null);
        }
        public HouseInfo(Int32 index,MapType mapType,bool isEnd, HIDCode[] skills,Int32[] withoutNumber)
        public HouseInfo(Int32 index,MapType mapType,bool isEnd, HIDCode[] skills,Int32[] withoutNumber,Int32 fromHouseIndex)
        {
            this.Index = index;
            this.MapType = mapType;
            this.IsEnd = isEnd;
            this.FromHouseIndex = fromHouseIndex;
            Skills = new SkillQueue();
            for (int i = 0; skills!=null&&i < skills.Length; i++)
@@ -51,12 +52,17 @@
            InitPathInfo(withoutNumber);
        }
        
        /// <summary>
        /// 房间编号
        /// </summary>
        public Int32 Index { get; set; }
        /// <summary>
        /// 来自房间索引
        /// </summary>
        public Int32 FromHouseIndex { get; set; }
        private Direction[] doorDirection = null;
        /// <summary>
        /// 门的位置