Exemple #1
0
        //public static GraveDigger FelInstance { get; set; }

        public static void Initialize()
        {
            if (TramInstance == null)
            {
                TramInstance = new GraveDigger();
                TramInstance.MoveToWorld(new Point3D(1382, 1447, 10), Map.Trammel);
                TramInstance.Direction = Direction.South;
            }
        }
Exemple #2
0
        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);
            reader.ReadInt();

            if (Map == Map.Trammel)
            {
                TramInstance = this;
            }
        }
Exemple #3
0
        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);
            _ = reader.ReadInt();

            if (Map == Map.Trammel)
            {
                TramInstance = this;
            }

            /*else if (Map == Map.Felucca)
             * {
             *  FelInstance = this;
             * }*/

            if (!Core.TOL)
            {
                Delete();
            }
        }