Ejemplo n.º 1
0
            public GhostTeleporter() : base()
            {
                Name = "GhostTeleporter";

                if (m_GhostRegion == null)
                {
                    m_GhostRegion = new BaseRegion("DoomGhostTeleportRegion", Map.Malas, 55, m_GhostRegionBounds);
                    m_GhostRegion.Register();
                }
            }
Ejemplo n.º 2
0
            public override void Deserialize(GenericReader reader)
            {
                base.Deserialize(reader);

                int version = reader.ReadEncodedInt();

                if (m_GhostRegion == null)
                {
                    m_GhostRegion = new BaseRegion("DoomGhostTeleportRegion", Map.Malas, 55, m_GhostRegionBounds);
                    m_GhostRegion.Register();
                }
            }