Beispiel #1
0
            public SHTeleporter AddSHT(Map map, bool ext, int x, int y, int z)
            {
                Point3D      p    = new Point3D(x, y, z);
                SHTeleporter tele = FindSHTeleporter(map, p);

                if (tele == null)
                {
                    tele = new SHTeleporter(ext);
                    tele.MoveToWorld(p, map);

                    m_Count++;
                }

                return(tele);
            }
Beispiel #2
0
 public static void Link(SHTeleporter tele1, SHTeleporter tele2)
 {
     tele1.ChangeDest(tele2);
     tele2.ChangeDest(tele1);
 }