Esempio n. 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;
     }
 }
Esempio n. 2
0
        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);
            reader.ReadInt();

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

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

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