Beispiel #1
0
 public static void Initialize()
 {
     if (TramInstance == null)
     {
         TramInstance = new InspectorJasper();
         TramInstance.MoveToWorld(new Point3D(1675, 1584, 7), Map.Trammel);
         TramInstance.Direction = Direction.South;
     }
 }
Beispiel #2
0
        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);
            reader.ReadInt();

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

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

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