public OnMovement ( Mobile m, Point3D oldLocation ) : void | ||
m | Mobile | |
oldLocation | Point3D | |
return | void |
public override void OnMovement( Mobile m, Point3D oldLocation )
{
if ( m is PlayerMobile )
{
if ( !Utility.InRange( m.Location, this.Location, 1 ) && Utility.InRange( oldLocation, this.Location, 1 ) )
m.CloseGump( typeof( MoongateGump ) );
}
}