| | |
| | | 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++) |
| | |
| | | InitPathInfo(withoutNumber); |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 房间编号 |
| | | /// </summary> |
| | | public Int32 Index { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 来自房间索引 |
| | | /// </summary> |
| | | public Int32 FromHouseIndex { get; set; } |
| | | |
| | | private Direction[] doorDirection = null; |
| | | /// <summary> |
| | | /// 门的位置 |