public void AddTeleporters(int id, Point3D offset1, Point3D offset2) { HouseTeleporter tele1 = new HouseTeleporter(id); HouseTeleporter tele2 = new HouseTeleporter(id); tele1.Target = tele2; tele2.Target = tele1; tele1.MoveToWorld(new Point3D(X + offset1.X, Y + offset1.Y, offset1.Z), Map); tele2.MoveToWorld(new Point3D(X + offset2.X, Y + offset2.Y, offset2.Z), Map); AddFixture(tele1); AddFixture(tele2); }
public DelayTimer(HouseTeleporter tp, Mobile m) : base(TimeSpan.FromSeconds(1.0)) { m_Teleporter = tp; m_Mobile = m; }