Exemple #1
0
 public void SetRegionType(int id, VirtualRegionCellType value)
 {
     SubVirtualRegion region;
     if (subRegions.TryGetValue(id, out region))
     {
         region.SetType(value);
     }
 }
Exemple #2
0
        protected int nid;//特征id,比如卡的id,npc的id等等

        public PictureRegion(int id, int x, int y, int width, int height, int info, VirtualRegionCellType type, int nid)
            : base(id, x, y, width, height, info)
        {
            this.nid = nid;
            this.type = type;
        }
Exemple #3
0
 public override void SetType(VirtualRegionCellType value)
 {
     type = value;
 }
 public PictureAnimRegion(int id, int x, int y, int width, int height, int info, VirtualRegionCellType type, int nid)
     : base(id, x, y, width, height, info, type, nid)
 {
 }