Exemplo n.º 1
0
        public override bool OnDragDrop(Mobile from, Item dropped)
        {
            if (dropped is MapItem && m_Galleon != null && m_Galleon.CanCommand(from) && m_Galleon.Contains(from))
            {
                m_Galleon.AssociateMap((MapItem)dropped);
            }

            return(false);
        }