コード例 #1
0
ファイル: TigerCubEnclosure.cs プロジェクト: ygtkms/ServUO
            public LockingMechanismGump(PlayerMobile pm, EnclosureDoor door)
                : base(25, 25)
            {
                Door = door;
                User = pm;

                Progress = new List <int>();
                Progress.Add(0);

                AddGumpLayout();
            }
コード例 #2
0
ファイル: TigerCubEnclosure.cs プロジェクト: ygtkms/ServUO
        public CubEnclosure()
        {
            AddComponent(new AddonComponent(2103), 0, 0, 0);
            AddComponent(new AddonComponent(2103), 0, 1, 0);
            AddComponent(new AddonComponent(2103), 0, 2, 0);
            AddComponent(new AddonComponent(2102), 1, 2, 0);
            AddComponent(new AddonComponent(2101), 3, 2, 0);
            AddComponent(new AddonComponent(2103), 3, 1, 0);
            AddComponent(new AddonComponent(2103), 3, 0, 0);
            AddComponent(new AddonComponent(2102), 2, -1, 0);
            AddComponent(new AddonComponent(2102), 1, -1, 0);
            AddComponent(new AddonComponent(2102), 3, -1, 0);

            Door          = new EnclosureDoor(this);
            Cub           = new TigerCub();
            Cub.Blessed   = true;
            Cub.RangeHome = 5;

            Cub.Location = new Point3D(Location.X + 1, Location.Y + 1, Location.Z);
        }