示例#1
0
 public static void Initialize()
 {
     if (TramInstance == null)
     {
         TramInstance = new SageHumbolt();
         TramInstance.MoveToWorld(new Point3D(5808, 3270, -15), Map.Trammel);
         TramInstance.Direction = Direction.North;
     }
 }
示例#2
0
        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);
            reader.ReadInt();

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

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

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