Server.Items.TillerMan.OnDragDrop C# (CSharp) Method

OnDragDrop() public method

public OnDragDrop ( Server.Mobile from, Item dropped ) : bool
from Server.Mobile
dropped Item
return bool
		public override bool OnDragDrop( Mobile from, Item dropped )
		{
			if ( dropped is MapItem && m_Boat != null && m_Boat.Contains( from ) )
			{
				m_Boat.AssociateMap( (MapItem) dropped );
			}

			return false;
		}