Example #1
0
        private void LoadObjects()
        {
            foreach (var obj in Info.Objects)
            {
                InstanceObject o = null;
                if (obj.DoorID != 0)
                {
                    o = new InstanceDoor(this, obj);
                }
                else
                {
                    o = new InstanceObject(this, obj);
                }

                Region.AddObject(o, Info.ZoneID, true);
                o.SetZone(Region.GetZoneMgr(Info.ZoneID));
                Region.CheckZone(o);
                _Objects.Add(o);
            }
        }
Example #2
0
 public void DoorClosed(InstanceDoor door)
 {
 }
Example #3
0
 public void DoorOpened(InstanceDoor door)
 {
 }